mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 18:37:39 -02:30
Hide the user type selection for non super users
Completes UI portion of #1974
This commit is contained in:
@@ -93,6 +93,7 @@ export default
|
|||||||
ngOptions: 'item as item.label for item in user_type_options track by item.type',
|
ngOptions: 'item as item.label for item in user_type_options track by item.type',
|
||||||
disableChooseOption: true,
|
disableChooseOption: true,
|
||||||
ngModel: 'user_type',
|
ngModel: 'user_type',
|
||||||
|
ngShow: 'current_user["is_superuser"]',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user