diff --git a/modules/core/src/com/haulmont/addon/admintools/role/AdminToolsAdminRole.java b/modules/core/src/com/haulmont/addon/admintools/role/AdminToolsAdminRole.java index d11424e..e5e67a9 100644 --- a/modules/core/src/com/haulmont/addon/admintools/role/AdminToolsAdminRole.java +++ b/modules/core/src/com/haulmont/addon/admintools/role/AdminToolsAdminRole.java @@ -30,9 +30,14 @@ import de.diedavids.cuba.runtimediagnose.entity.DiagnoseExecutionLog; import de.diedavids.cuba.runtimediagnose.wizard.DiagnoseWizardResult; -@Role(name = "Admin tools full access") +@Role(name = "admin-tools-full-access") public class AdminToolsAdminRole extends AnnotatedRoleDefinition { + @Override + public String getLocName() { + return "Admin tools full access"; + } + @EntityAccess(entityClass = DiagnoseWizardResult.class, operations = {EntityOp.CREATE, EntityOp.UPDATE, EntityOp.READ, EntityOp.DELETE}) @EntityAccess(entityClass = DiagnoseExecutionLog.class, operations = {EntityOp.CREATE, EntityOp.READ, EntityOp.UPDATE, EntityOp.DELETE}) diff --git a/modules/core/src/com/haulmont/addon/admintools/role/DiagnoseWizardRole.java b/modules/core/src/com/haulmont/addon/admintools/role/DiagnoseWizardRole.java index 2ca0580..7957e39 100644 --- a/modules/core/src/com/haulmont/addon/admintools/role/DiagnoseWizardRole.java +++ b/modules/core/src/com/haulmont/addon/admintools/role/DiagnoseWizardRole.java @@ -29,9 +29,14 @@ import de.diedavids.cuba.runtimediagnose.entity.DiagnoseExecutionLog; import de.diedavids.cuba.runtimediagnose.wizard.DiagnoseWizardResult; -@Role(name = "Admin tools diagnose") +@Role(name = "admin-tools-diagnose") public class DiagnoseWizardRole extends AnnotatedRoleDefinition { + @Override + public String getLocName() { + return "Admin tools diagnose"; + } + @EntityAccess(entityClass = DiagnoseExecutionLog.class, operations = EntityOp.CREATE) @EntityAccess(entityClass = DiagnoseWizardResult.class, operations = {EntityOp.CREATE, EntityOp.READ, EntityOp.UPDATE}) @EntityAccess(entityClass = FileDescriptor.class, operations = {EntityOp.CREATE, EntityOp.READ, EntityOp.UPDATE})