mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 12:55:04 -02:30
Allow mapping org auditors where we map org admins.
This commit is contained in:
@@ -150,6 +150,7 @@ class TestSAMLAttr():
|
||||
'attributes': {
|
||||
'memberOf': ['Default1', 'Default2'],
|
||||
'admins': ['Default3'],
|
||||
'auditors': ['Default4'],
|
||||
'groups': ['Blue', 'Red'],
|
||||
'User.email': ['cmeyers@redhat.com'],
|
||||
'User.LastName': ['Meyers'],
|
||||
@@ -178,6 +179,7 @@ class TestSAMLAttr():
|
||||
SOCIAL_AUTH_SAML_ORGANIZATION_ATTR = {
|
||||
'saml_attr': 'memberOf',
|
||||
'saml_admin_attr': 'admins',
|
||||
'saml_auditor_attr': 'auditors',
|
||||
'remove': True,
|
||||
'remove_admins': True,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user