mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Removed unnecessary hard coded text
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@70988 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -52,13 +52,11 @@ public class RMv21InPlacePatch extends RMv21PatchComponent
|
||||
implements BeanNameAware, RecordsManagementModel, DOD5015Model
|
||||
{
|
||||
/** Extended reader and writer role details */
|
||||
private static final String ROLE_READERS = "ExtendedReaders";
|
||||
private static final String ROLE_READERS_LABEL = "In-Place Readers";
|
||||
private static final String[] ROLE_READERS_CAPABILITIES = new String[]
|
||||
{
|
||||
"ViewRecords"
|
||||
};
|
||||
private static final String ROLE_WRITERS = "ExtendedWriters";
|
||||
private static final String ROLE_WRITERS_LABEL = "In-Place Writers";
|
||||
private static final String[] ROLE_WRITERS_CAPABILITIES = new String[]
|
||||
{
|
||||
@@ -173,8 +171,8 @@ public class RMv21InPlacePatch extends RMv21PatchComponent
|
||||
moveExistingTransfers(filePlan);
|
||||
|
||||
// add the inplace roles
|
||||
filePlanRoleService.createRole(filePlan, ROLE_READERS, ROLE_READERS_LABEL, getCapabilities(ROLE_READERS_CAPABILITIES));
|
||||
filePlanRoleService.createRole(filePlan, ROLE_WRITERS, ROLE_WRITERS_LABEL, getCapabilities(ROLE_WRITERS_CAPABILITIES));
|
||||
filePlanRoleService.createRole(filePlan, FilePlanRoleService.ROLE_EXTENDED_READERS, ROLE_READERS_LABEL, getCapabilities(ROLE_READERS_CAPABILITIES));
|
||||
filePlanRoleService.createRole(filePlan, FilePlanRoleService.ROLE_EXTENDED_WRITERS, ROLE_WRITERS_LABEL, getCapabilities(ROLE_WRITERS_CAPABILITIES));
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
Reference in New Issue
Block a user