This commit is contained in:
@@ -196,7 +196,10 @@ export default {
|
|||||||
async generate() {
|
async generate() {
|
||||||
const vm = this;
|
const vm = this;
|
||||||
|
|
||||||
if (vm.formState.readOnly) {
|
if (
|
||||||
|
vm.formState.readOnly ||
|
||||||
|
window.$gz.store.getters.isSuperUser != true
|
||||||
|
) {
|
||||||
window.$gz.eventBus.$emit(
|
window.$gz.eventBus.$emit(
|
||||||
"notify-warning",
|
"notify-warning",
|
||||||
vm.$ay.t("ErrorSecurityAdministratorOnlyMessage")
|
vm.$ay.t("ErrorSecurityAdministratorOnlyMessage")
|
||||||
|
|||||||
Reference in New Issue
Block a user