consolidated master data import actions for security module

Change-Id: I054b8891442456cf222607f763a29c99d943ea17
This commit is contained in:
Axel Uhl
2019-05-16 11:25:08 +02:00
parent 9fa51d4a51
commit 4e92c35b46
2 changed files with 2 additions and 3 deletions
@@ -385,7 +385,7 @@ public class AdminConsoleEntryPoint extends AbstractSailingEntryPoint
masterDataImportPanel.ensureDebugId("MasterDataImport");
panel.addToTabPanel(advancedTabPanel, new DefaultRefreshableAdminConsolePanel<MasterDataImportPanel>(masterDataImportPanel),
getStringMessages().masterDataImportPanel(), SecuredSecurityTypes.SERVER.getPermissionForObject(
SecuredSecurityTypes.ServerActions.IMPORT_MASTER_DATA, serverInfo));
SecuredSecurityTypes.ServerActions.CAN_IMPORT_MASTERDATA, serverInfo));
RemoteServerInstancesManagementPanel remoteServerInstancesManagementPanel = new RemoteServerInstancesManagementPanel(getSailingService(), this, getStringMessages());
panel.addToTabPanel(advancedTabPanel, new DefaultRefreshableAdminConsolePanel<RemoteServerInstancesManagementPanel>(remoteServerInstancesManagementPanel),
@@ -73,7 +73,6 @@ public class SecuredSecurityTypes extends HasPermissionsImpl {
CONFIGURE_FILE_STORAGE,
CONFIGURE_LOCAL_SERVER,
CONFIGURE_REMOTE_INSTANCES,
IMPORT_MASTER_DATA,
CREATE_OBJECT,
/**
@@ -98,7 +97,7 @@ public class SecuredSecurityTypes extends HasPermissionsImpl {
READ_REPLICATOR;
private static final Action[] ALL_ACTIONS = new Action[] { CONFIGURE_FILE_STORAGE, CONFIGURE_LOCAL_SERVER,
CONFIGURE_REMOTE_INSTANCES, IMPORT_MASTER_DATA, CREATE_OBJECT, CAN_IMPORT_MASTERDATA, DATA_MINING,
CONFIGURE_REMOTE_INSTANCES, CREATE_OBJECT, CAN_IMPORT_MASTERDATA, DATA_MINING,
REPLICATE, START_REPLICATION, READ_REPLICATOR,
DefaultActions.CHANGE_OWNERSHIP, DefaultActions.CHANGE_ACL, DefaultActions.UPDATE };
}