Mercurial > public > src > rhodecode
diff pylons_app/controllers/admin/settings.py @ 455:05f985964a96 demo
Merge with 63c697d1a631c2a44409b1a3b0c682d46e3542f1
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 21 Aug 2010 18:32:03 +0200 |
parents | 0dd10d431d2f 3ed2d46a2ca7 |
children | a977818fbc6d |
line wrap: on
line diff
--- a/pylons_app/controllers/admin/settings.py Wed Aug 18 00:24:42 2010 +0200 +++ b/pylons_app/controllers/admin/settings.py Sat Aug 21 18:32:03 2010 +0200 @@ -271,7 +271,7 @@ return redirect(url('my_account')) - @HasPermissionAnyDecorator('repository.create', 'hg.admin') + @HasPermissionAnyDecorator('hg.admin', 'hg.create.repository') def create_repository(self): """GET /_admin/create_repository: Form to create a new item""" new_repo = request.GET.get('repo', '')