From 2020055ab2c0ef4647e354c6025c7dcd2b735f0c Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 23 May 2022 14:39:29 +1000 Subject: [PATCH] added code to pull the operator and admin groups from SAML auth requests --- configs/development.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configs/development.py b/configs/development.py index 2c2e63d..401c121 100644 --- a/configs/development.py +++ b/configs/development.py @@ -113,6 +113,14 @@ SAML_ENABLED = False # ### the user is set as a non-administrator user. # #SAML_ATTRIBUTE_ADMIN = 'https://example.edu/pdns-admin' +## Attribute to get admin status for groups with the IdP +# ### Default: Don't set administrator group with SAML attributes +#SAML_GROUP_ADMIN_NAME = 'GroupName' + +## Attribute to get operator status for groups with the IdP +# ### Default: Don't set operator group with SAML attributes +#SAML_GROUP_OPERATOR_NAME = 'GroupName' + # ## Attribute to get account names from # ### Default: Don't control accounts with SAML attribute # ### If set, the user will be added and removed from accounts to match