Fixed users can set role in frontend without permission
This commit is contained in:
parent
edf56c1094
commit
d4bc385833
|
@ -44,7 +44,7 @@
|
||||||
multiple
|
multiple
|
||||||
use-chips
|
use-chips
|
||||||
v-model="props.user.roles"
|
v-model="props.user.roles"
|
||||||
:readonly="() => canSetRoles()"
|
:readonly="!canSetRoles"
|
||||||
:options="allRoles"
|
:options="allRoles"
|
||||||
option-label="name"
|
option-label="name"
|
||||||
option-value="name"
|
option-value="name"
|
||||||
|
|
Loading…
Reference in New Issue