mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
change args visibility when editing a default role (#8322)
This commit is contained in:
parent
371ad9f55b
commit
22a4464c67
@ -53,7 +53,7 @@ export default {
|
||||
icon: 'edit-outlined',
|
||||
label: 'label.edit.role',
|
||||
dataView: true,
|
||||
args: ['name', 'description', 'type', 'ispublic'],
|
||||
args: (record) => record.isdefault ? ['ispublic'] : ['name', 'description', 'type', 'ispublic'],
|
||||
mapping: {
|
||||
type: {
|
||||
options: ['Admin', 'DomainAdmin', 'User']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user