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:
David Caruana
2010-10-08 14:41:14 +00:00
parent 8ca0064682
commit 69f1b92d6a

View File

@@ -454,10 +454,6 @@ public class DMAbstractServicePort
List<CMISAccessControlEntry> result = new LinkedList<CMISAccessControlEntry>();
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();
if (CMIS_USER.equals(principalId))
{