This commit is contained in:
@@ -407,8 +407,8 @@ export default {
|
||||
let vm = this;
|
||||
try {
|
||||
await initForm(vm);
|
||||
|
||||
vm.rights = window.$gz.role.getRights(window.$gz.type.User);
|
||||
//## NOTE: This is a Contact form so follows Customer rights even though User object
|
||||
vm.rights = window.$gz.role.getRights(window.$gz.type.Customer);
|
||||
vm.formState.readOnly = !vm.rights.change;
|
||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user