# HG changeset patch # User Marcin Kuzminski # Date 2017-04-28 11:57:23 # Node ID 6dac428abebac43fb9aa6c86d3fb9a0508bfbc23 # Parent 1a4c1af045520f737e450322ea3c8088730617b5 repo-strip: rename file to adjust same naming as other views. - removed NotAnonymous becuase it's already protected by admin permissions. diff --git a/rhodecode/apps/repository/views/strip.py b/rhodecode/apps/repository/views/repo_strip.py rename from rhodecode/apps/repository/views/strip.py rename to rhodecode/apps/repository/views/repo_strip.py --- a/rhodecode/apps/repository/views/strip.py +++ b/rhodecode/apps/repository/views/repo_strip.py @@ -41,7 +41,6 @@ class StripView(RepoAppView): return c @LoginRequired() - @NotAnonymous() @HasRepoPermissionAnyDecorator('repository.admin') @view_config( route_name='strip', request_method='GET', @@ -54,7 +53,6 @@ class StripView(RepoAppView): return self._get_template_context(c) @LoginRequired() - @NotAnonymous() @HasRepoPermissionAnyDecorator('repository.admin') @view_config( route_name='strip_check', request_method='POST', @@ -79,7 +77,6 @@ class StripView(RepoAppView): return data @LoginRequired() - @NotAnonymous() @HasRepoPermissionAnyDecorator('repository.admin') @view_config( route_name='strip_execute', request_method='POST',