diff --git a/pagure/internal/__init__.py b/pagure/internal/__init__.py index ba6a376..66639e7 100644 --- a/pagure/internal/__init__.py +++ b/pagure/internal/__init__.py @@ -176,6 +176,7 @@ def ticket_add_comment(): @PV.route('/pull-request/merge', methods=['POST']) +@localonly def mergeable_request_pull(): """ Returns if the specified pull-request can be merged or not. """ @@ -236,6 +237,7 @@ def mergeable_request_pull(): @PV.route('/pull-request/ready', methods=['POST']) +@localonly def get_pull_request_ready_branch(): """ Return the list of branches that have commits not in the main branch/repo (thus for which one could open a PR) and the number of @@ -334,6 +336,7 @@ def get_pull_request_ready_branch(): @PV.route('//issue/template', methods=['POST']) @PV.route('/fork///issue/template', methods=['POST']) +@localonly def get_ticket_template(repo, username=None): """ Return the template asked for the specified project """