##// END OF EJS Templates
repo-maintainance: removed NotAnonymous becuase it's already protected by admin permissions.
marcink -
r1724:49a7fe6f default
parent child Browse files
Show More
@@ -41,7 +41,6 b' class RepoMaintenanceView(RepoAppView):'
41 return c
41 return c
42
42
43 @LoginRequired()
43 @LoginRequired()
44 @NotAnonymous()
45 @HasRepoPermissionAnyDecorator('repository.admin')
44 @HasRepoPermissionAnyDecorator('repository.admin')
46 @view_config(
45 @view_config(
47 route_name='repo_maintenance', request_method='GET',
46 route_name='repo_maintenance', request_method='GET',
@@ -54,7 +53,6 b' class RepoMaintenanceView(RepoAppView):'
54 return self._get_template_context(c)
53 return self._get_template_context(c)
55
54
56 @LoginRequired()
55 @LoginRequired()
57 @NotAnonymous()
58 @HasRepoPermissionAnyDecorator('repository.admin')
56 @HasRepoPermissionAnyDecorator('repository.admin')
59 @view_config(
57 @view_config(
60 route_name='repo_maintenance_execute', request_method='GET',
58 route_name='repo_maintenance_execute', request_method='GET',
General Comments 0
You need to be logged in to leave comments. Login now