added code to pull the operator and admin groups from SAML auth requests

This commit is contained in:
Josh Matthews 2022-05-23 14:39:29 +10:00
parent 715c6b76cd
commit 2020055ab2

View File

@ -113,6 +113,14 @@ SAML_ENABLED = False
# ### the user is set as a non-administrator user. # ### the user is set as a non-administrator user.
# #SAML_ATTRIBUTE_ADMIN = 'https://example.edu/pdns-admin' # #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 # ## Attribute to get account names from
# ### Default: Don't control accounts with SAML attribute # ### Default: Don't control accounts with SAML attribute
# ### If set, the user will be added and removed from accounts to match # ### If set, the user will be added and removed from accounts to match