From 0c7c3d88041fad733e18fce658a2e8068aa6b4f3 Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Jun 04 2018 17:29:11 +0000 Subject: Fix a typo in pagure/api/issue.py --- diff --git a/pagure/api/issue.py b/pagure/api/issue.py index 14b2f57..37dcee0 100644 --- a/pagure/api/issue.py +++ b/pagure/api/issue.py @@ -100,7 +100,7 @@ def _get_issue(repo, issueid, issueuid=None): def _check_private_issue_access(issue): - """Check if user can access issue. Must be repo commiter + """Check if user can access issue. Must be repo committer or author to see private issues. :param issue: issue object :raises pagure.exceptions.APIError: when access denied @@ -118,7 +118,7 @@ def _check_private_issue_access(issue): def _check_ticket_access(issue, assignee=False): - """Check if user can access issue. Must be repo commiter + """Check if user can access issue. Must be repo committer or author to see private issues. :param issue: issue object :param assignee: a boolean specifying whether to allow the assignee or not