mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
add fields for team and organization saml attribute mappings
This commit is contained in:
@@ -1185,7 +1185,7 @@ register(
|
|||||||
field_class=fields.SAMLTeamAttrField,
|
field_class=fields.SAMLTeamAttrField,
|
||||||
allow_null=True,
|
allow_null=True,
|
||||||
default=None,
|
default=None,
|
||||||
label=_('SAML Team Map'),
|
label=_('SAML Team Attribute Mapping'),
|
||||||
help_text=_('Used to translate user team membership into Tower.'),
|
help_text=_('Used to translate user team membership into Tower.'),
|
||||||
category=_('SAML'),
|
category=_('SAML'),
|
||||||
category_slug='saml',
|
category_slug='saml',
|
||||||
|
|||||||
@@ -71,15 +71,28 @@ export default ['i18n', function(i18n) {
|
|||||||
codeMirror: true,
|
codeMirror: true,
|
||||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth'
|
class: 'Form-textAreaLabel Form-formGroup--fullWidth'
|
||||||
},
|
},
|
||||||
|
SOCIAL_AUTH_SAML_ORGANIZATION_ATTR: {
|
||||||
|
type: 'textarea',
|
||||||
|
reset: 'SOCIAL_AUTH_SAML_ORGANIZATION_ATTR',
|
||||||
|
rows: 6,
|
||||||
|
codeMirror: true,
|
||||||
|
class: 'Form-textAreaLabel Form-formGroup--fullWidth'
|
||||||
|
},
|
||||||
SOCIAL_AUTH_SAML_TEAM_MAP: {
|
SOCIAL_AUTH_SAML_TEAM_MAP: {
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
reset: 'SOCIAL_AUTH_SAML_TEAM_MAP',
|
reset: 'SOCIAL_AUTH_SAML_TEAM_MAP',
|
||||||
rows: 6,
|
rows: 6,
|
||||||
codeMirror: true,
|
codeMirror: true,
|
||||||
class: 'Form-textAreaLabel Form-formGroup--fullWidth'
|
class: 'Form-textAreaLabel Form-formGroup--fullWidth'
|
||||||
}
|
},
|
||||||
|
SOCIAL_AUTH_SAML_TEAM_ATTR: {
|
||||||
|
type: 'textarea',
|
||||||
|
reset: 'SOCIAL_AUTH_SAML_TEAM_ATTR',
|
||||||
|
rows: 6,
|
||||||
|
codeMirror: true,
|
||||||
|
class: 'Form-textAreaLabel Form-formGroup--fullWidth'
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
buttons: {
|
buttons: {
|
||||||
reset: {
|
reset: {
|
||||||
ngShow: '!user_is_system_auditor',
|
ngShow: '!user_is_system_auditor',
|
||||||
|
|||||||
Reference in New Issue
Block a user