mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
filtering out super users from permissions lists
because super users have access to all things, and don't need to be assigned permission.
This commit is contained in:
parent
738fff65a1
commit
012f0cb299
@ -174,7 +174,8 @@ function LegacyCredentialsService (pathService) {
|
||||
user_search: {
|
||||
value: {
|
||||
order_by: 'username',
|
||||
page_size: 5
|
||||
page_size: 5,
|
||||
is_superuser: false
|
||||
},
|
||||
dynamic: true
|
||||
},
|
||||
|
||||
@ -351,7 +351,7 @@ function($injector, $stateExtender, $log, i18n) {
|
||||
url: '/add-permissions',
|
||||
params: {
|
||||
user_search: {
|
||||
value: { order_by: 'username', page_size: '5' },
|
||||
value: { order_by: 'username', page_size: '5', is_superuser: false },
|
||||
dynamic: true,
|
||||
},
|
||||
team_search: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user