mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Resolve ALF-5151 CMIS Web Service applyACL reports exception 'Inherited Permissions can't be updated or deleted from Object'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -454,10 +454,6 @@ public class DMAbstractServicePort
|
|||||||
List<CMISAccessControlEntry> result = new LinkedList<CMISAccessControlEntry>();
|
List<CMISAccessControlEntry> result = new LinkedList<CMISAccessControlEntry>();
|
||||||
for (CmisAccessControlEntryType cmisEntry : source)
|
for (CmisAccessControlEntryType cmisEntry : source)
|
||||||
{
|
{
|
||||||
if (!cmisEntry.isDirect())
|
|
||||||
{
|
|
||||||
throw ExceptionUtil.createCmisException("Inherited Permissions can't be updated or deleted from Object", EnumServiceException.NOT_SUPPORTED);
|
|
||||||
}
|
|
||||||
String principalId = cmisEntry.getPrincipal().getPrincipalId();
|
String principalId = cmisEntry.getPrincipal().getPrincipalId();
|
||||||
if (CMIS_USER.equals(principalId))
|
if (CMIS_USER.equals(principalId))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user