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