search: per-repo search shouldn't require admin permissions. Read is enought because we access the repo only
This commit is contained in:
parent
7c571b29bc
commit
890cb7ef61
1 changed files with 2 additions and 1 deletions
|
|
@ -123,7 +123,8 @@ class SearchRepoView(RepoAppView):
|
|||
return c
|
||||
|
||||
@LoginRequired()
|
||||
@HasRepoPermissionAnyDecorator('repository.admin')
|
||||
@HasRepoPermissionAnyDecorator(
|
||||
'repository.read', 'repository.write', 'repository.admin')
|
||||
@view_config(
|
||||
route_name='search_repo', request_method='GET',
|
||||
renderer='rhodecode:templates/search/search.mako')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue