-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 8.0.0
-
Component/s: Pull Requests
-
1
-
Severity 3 - Minor
-
1
Issue Summary
The reviewer is unable to edit the PR created between the fork and the main repository.
This is reproducible on Data Center: yes
Steps to Reproduce
- Create a repository and make a change in the master branch.
- Create two users, user1 and user2, with Bitbucket User access.
- Have an admin or sysadmin user create a fork of the repository in the same project under a different name.
The fork repo can be created in a personal account as well and the behavior remains same. - Assign user1 as a repo admin in both the main repository and the fork.
- Assign user2 as a repo admin only in the main repository.
- From user1’s account, make a change in the forked repository, then open a pull request from the fork to the main repository and add user2 as a reviewer.
- Login with user2 account and try to edit the pull request, an error message saying "You are not permitted to access this resource" appears.
Expected Results
The PR should be editable by the reviewer as it have write access on the target repository and the error message shouldn't appear.
Actual Results
An error message saying "You are not permitted to access this resource" appears.

Workaround
Close the Error dialog and edit the PR.