From adc5dd0b2b18b82baea81dcc2c09ebdd8cefb0a7 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 22 2015 08:49:24 +0000 Subject: Define the default ACL and their description in the default configuration file --- diff --git a/pagure/default_config.py b/pagure/default_config.py index e576b4c..52f2b23 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -137,3 +137,12 @@ APPLICATION_ROOT = '/' # List of blacklisted project names BLACKLISTED_PROJECTS = ['static', 'pv'] + +ACLS = { + 'issue_create': 'Create a new ticket against this project', + 'issue_change_status': 'Change the status of a ticket of this project', + 'issue_comment': 'Comment on a ticket of this project', + 'pull_request_merge': 'Merge a pull-request of this project', + 'pull_request_close': 'Close a pull-request of this project', + 'pull_request_comment': 'Comment on a pull-request of this project', +}