Details
-
Bug
-
Resolution: Fixed
-
Highest
-
None
-
None
-
Severity 3 - Minor
-
Description
It ignores context with grants to REPO_WRITE and check real users permissions.
Our plugin want to add reviwers to pullrequest.
securityService.withPermission(Permission.REPO_WRITE).call(() -> pullRequestService.addReviewer(...)) always throw com.atlassian.bitbucket.AuthorisationException: You do not have permission to update reviewers.
Attachments
Issue Links
- is caused by
-
BSERV-9177 PermissionService ignores elevated permissions
- Closed