From 8f3d4d101a36c06c84519cdabb1b5ac9c86272dc Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sep 28 2018 08:19:02 +0000 Subject: Update the git_auth documentation to indicate repotype is passed in Signed-off-by: Patrick Uiterwijk --- diff --git a/pagure/lib/git_auth.py b/pagure/lib/git_auth.py index eed98e3..8261145 100644 --- a/pagure/lib/git_auth.py +++ b/pagure/lib/git_auth.py @@ -137,6 +137,8 @@ class GitAuthHelper(with_metaclass(abc.ABCMeta, object)): - revto (string): The commit hash the update is happening to. - pull_request (model.PullRequest or None): The PR that is trying to be merged. + - repotype (string): The pagure.lib.REPOTYPES value for the repo + being pushed to. Returns (bool): Whether to allow this push. If is_update is False and the ACL returns False, the entire push is aborted. If is_update is True and the ACL returns True, only