This commit is contained in:
2020-12-09 00:58:01 +00:00
parent 54cf47d3d0
commit af1a5162ab
3 changed files with 6 additions and 7 deletions

View File

@@ -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);