diff --git a/pagure/default_config.py b/pagure/default_config.py index 87ce58d..9ac9d43 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -221,6 +221,17 @@ ACLS = { 'issue_update_custom_fields': 'Update the custom fields of an issue', } +# From the ACLs above lists which ones are tolerated to be associated with +# an API token that isn't linked to a particular project. +CROSS_PROJECT_ACLS = [ + 'create_project', + 'fork_project', + 'issue_comment', + 'issue_create', + 'pull_request_flag', + 'pull_request_comment', +] + # Bootstrap URLS BOOTSTRAP_URLS_CSS = 'https://apps.fedoraproject.org/global/' \ 'fedora-bootstrap-1.0.1/fedora-bootstrap.css'