From 1e6f6ebcf526f3df21c62c26781a5e5d94b23a5e Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 5 Jun 2017 19:30:19 +0000 Subject: [PATCH] Specify admin groups for MBS. --- roles/mbs/common/templates/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/mbs/common/templates/config.py b/roles/mbs/common/templates/config.py index c924a38b05..b61eddeddf 100644 --- a/roles/mbs/common/templates/config.py +++ b/roles/mbs/common/templates/config.py @@ -92,6 +92,12 @@ class ProdConfiguration(BaseConfiguration): #'packager', ] + # These groups are allowed to cancel the builds of other users. + ADMIN_GROUPS = [ + 'factory2', + 'releng', + ] + {% if env == 'staging' %} SECRET_KEY = '{{ mbs_stg_secret_key }}' SQLALCHEMY_DATABASE_URI = 'postgresql://mbs:{{mbs_stg_db_password}}@db-mbs/mbs'