Issue Summary
The hook settings rest endpoint documentation states that REPO_READ is required to access the endpoint, but actually REPO_ADMIN is required.
Steps to Reproduce
- Make a call to the rest endpoint as a REPO_READ user
Expected Results
The call succeeds
Actual Results
There is an authorisation exception
Workaround
Use a REPO_ADMIN user to access the REST endpoint.
The fix for this bug is for the documentation to be updated to reflect the actual behaviour
- duplicates
-
BSERV-13134 API lists incorrect permission for repository hooks endpoint
- Closed
- is caused by
-
BSERV-10994 Users with access to repo can see admin settings for that repo
- Closed