mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 04:10:44 -03:30
add fields for team and organization saml attribute mappings
This commit is contained in:
parent
a9b77eb706
commit
44d223b6c9
@ -1185,7 +1185,7 @@ register(
|
||||
field_class=fields.SAMLTeamAttrField,
|
||||
allow_null=True,
|
||||
default=None,
|
||||
label=_('SAML Team Map'),
|
||||
label=_('SAML Team Attribute Mapping'),
|
||||
help_text=_('Used to translate user team membership into Tower.'),
|
||||
category=_('SAML'),
|
||||
category_slug='saml',
|
||||
|
||||
@ -71,15 +71,28 @@ export default ['i18n', function(i18n) {
|
||||
codeMirror: true,
|
||||
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: {
|
||||
type: 'textarea',
|
||||
reset: 'SOCIAL_AUTH_SAML_TEAM_MAP',
|
||||
rows: 6,
|
||||
codeMirror: true,
|
||||
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: {
|
||||
reset: {
|
||||
ngShow: '!user_is_system_auditor',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user