stable

Clone or download

Read-only

request #9740: Anonymous users should not be allowed to create pull requests

How to test this: - Allow anonymous users on your platform - When you browse a repository that is readable by anonymous users, there should not be a button "Create pull requests" Change-Id: Ia576e2ae22ff5ea911766f33fe65b37b17c1e918

Modified Files

Name
A include/PullRequest/Exception/PullRequestAnonymousUserException.php +31 −0 Go to diff View file
M include/PullRequest/Exception/PullRequestNotCreatedException.php +1 −1 Go to diff View file
M include/PullRequest/PullRequestCreator.php +12 −2 Go to diff View file
M include/PullRequest/REST/v1/PullRequestsResource.php +3 −0 Go to diff View file
M include/PullRequest/Router.php +7 −0 Go to diff View file
M include/autoload.php +3 −2 Go to diff View file
M include/pullrequestPlugin.class.php +25 −19 Go to diff View file
M templates/additional-actions.mustache +6 −1 Go to diff View file
M www/themes/default/css/style.scss +4 −0 Go to diff View file