# HG changeset patch # User Marcin Kuzminski # Date 2017-04-28 11:57:59 # Node ID 49a7fe6fc24163f3d0d21e34d82399278c723a3c # Parent 6dac428abebac43fb9aa6c86d3fb9a0508bfbc23 repo-maintainance: removed NotAnonymous becuase it's already protected by admin permissions. diff --git a/rhodecode/apps/repository/views/repo_maintainance.py b/rhodecode/apps/repository/views/repo_maintainance.py --- a/rhodecode/apps/repository/views/repo_maintainance.py +++ b/rhodecode/apps/repository/views/repo_maintainance.py @@ -41,7 +41,6 @@ class RepoMaintenanceView(RepoAppView): return c @LoginRequired() - @NotAnonymous() @HasRepoPermissionAnyDecorator('repository.admin') @view_config( route_name='repo_maintenance', request_method='GET', @@ -54,7 +53,6 @@ class RepoMaintenanceView(RepoAppView): return self._get_template_context(c) @LoginRequired() - @NotAnonymous() @HasRepoPermissionAnyDecorator('repository.admin') @view_config( route_name='repo_maintenance_execute', request_method='GET',