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',
|
icon: 'edit-outlined',
|
||||||
label: 'label.edit.role',
|
label: 'label.edit.role',
|
||||||
dataView: true,
|
dataView: true,
|
||||||
args: ['name', 'description', 'type', 'ispublic'],
|
args: (record) => record.isdefault ? ['ispublic'] : ['name', 'description', 'type', 'ispublic'],
|
||||||
mapping: {
|
mapping: {
|
||||||
type: {
|
type: {
|
||||||
options: ['Admin', 'DomainAdmin', 'User']
|
options: ['Admin', 'DomainAdmin', 'User']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user