stable

Clone or download

Read-only

request #23050: A user with the capability to read the destination repository should be able the access its pull-requests

This is already the case in multiple spots: * the list of PRs of a repository can be retrieved * the content of PRs can be accessed via the refs/tlpr/:id/head stored in the repo However a direct access to the PR or to some of its details is denied if a user cannot read the source repository. Change-Id: I91d2ab62fbfff520fa8ffd38c08949e0c3d4de04

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Authorization/PullRequestPermissionChecker.php +1 −1 Go to diff View file
M plugins/pullrequest/tests/unit/Authorization/PullRequestPermissionCheckerTest.php +6 −6 Go to diff View file