# HG changeset patch # User Marcin Kuzminski # Date 1287367919 -7200 # Node ID ff449e9e6e38e58020b697a7177eefd5f2a5ff74 # Parent f31f1327c1e90f766bb810b3dd0cd9a6fcaeb4a2 fixed chrome repo switcher issue diff -r f31f1327c1e9 -r ff449e9e6e38 rhodecode/lib/middleware/simplehg.py --- a/rhodecode/lib/middleware/simplehg.py Mon Oct 18 03:39:16 2010 +0200 +++ b/rhodecode/lib/middleware/simplehg.py Mon Oct 18 04:11:59 2010 +0200 @@ -86,8 +86,8 @@ except: log.error(traceback.format_exc()) return HTTPInternalServerError()(environ, start_response) + #check permissions for this repository - if action == 'push': if not HasPermissionAnyMiddleware('repository.write', 'repository.admin')\ @@ -95,6 +95,7 @@ return HTTPForbidden()(environ, start_response) else: + #any other action need at least read permission if not HasPermissionAnyMiddleware('repository.read', 'repository.write', 'repository.admin')\ diff -r f31f1327c1e9 -r ff449e9e6e38 rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css Mon Oct 18 03:39:16 2010 +0200 +++ b/rhodecode/public/css/style.css Mon Oct 18 04:11:59 2010 +0200 @@ -357,7 +357,6 @@ max-height:275px; overflow-x:hidden; overflow-y:auto; -white-space:nowrap; } #header #header-inner #quick li ul li { @@ -1442,7 +1441,7 @@ } #footer p { -background:none repeat scroll 0 0 #2F2F2F; +background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367; color:#FFF; font-weight:700; padding:15px 25px 15px 0; @@ -2150,10 +2149,10 @@ } #content { -min-height:100%; +min-height:85%; clear:both; overflow:hidden; -padding:10px 30px; +padding:14px 30px; } #content div.box div.title div.search {