##// END OF EJS Templates
search: per-repo search shouldn't require admin permissions. Read is enought because we access the repo only
marcink -
r2048:affe5a68 default
parent child Browse files
Show More
@@ -123,7 +123,8 b' class SearchRepoView(RepoAppView):'
123 return c
123 return c
124
124
125 @LoginRequired()
125 @LoginRequired()
126 @HasRepoPermissionAnyDecorator('repository.admin')
126 @HasRepoPermissionAnyDecorator(
127 'repository.read', 'repository.write', 'repository.admin')
127 @view_config(
128 @view_config(
128 route_name='search_repo', request_method='GET',
129 route_name='search_repo', request_method='GET',
129 renderer='rhodecode:templates/search/search.mako')
130 renderer='rhodecode:templates/search/search.mako')
General Comments 0
You need to be logged in to leave comments. Login now