mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-2584: Declare record fails once owner has been deleted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@111929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -833,7 +833,8 @@ public class FilePlanRoleServiceImpl implements FilePlanRoleService,
|
|||||||
{
|
{
|
||||||
public Void doWork()
|
public Void doWork()
|
||||||
{
|
{
|
||||||
if (!getAllAssignedToRole(filePlan, role).contains(authorityName))
|
if (authorityService.authorityExists(authorityName) &&
|
||||||
|
!getAllAssignedToRole(filePlan, role).contains(authorityName))
|
||||||
{
|
{
|
||||||
String roleAuthority = authorityService.getName(AuthorityType.GROUP, getFullRoleName(role, filePlan));
|
String roleAuthority = authorityService.getName(AuthorityType.GROUP, getFullRoleName(role, filePlan));
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user