mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Resolve ALF-5130, ALF-5144, ALF-5148
- ALF-5130 NPE from Web Services deleteTree() - ALF-5144 Create document via CMIS web services throws exception if mime type is not specified - ALF-5148 ApplyACL does not accept repositorydetermined ACLPropagation value git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -184,7 +184,7 @@ public class CMISAccessControlServiceImpl implements CMISAccessControlService
|
|||||||
public CMISAccessControlReport applyAcl(NodeRef nodeRef, List<CMISAccessControlEntry> acesToRemove, List<CMISAccessControlEntry> acesToAdd, CMISAclPropagationEnum propagation,
|
public CMISAccessControlReport applyAcl(NodeRef nodeRef, List<CMISAccessControlEntry> acesToRemove, List<CMISAccessControlEntry> acesToAdd, CMISAclPropagationEnum propagation,
|
||||||
CMISAccessControlFormatEnum format) throws CMISConstraintException
|
CMISAccessControlFormatEnum format) throws CMISConstraintException
|
||||||
{
|
{
|
||||||
if (propagation != CMISAclPropagationEnum.PROPAGATE)
|
if (propagation == CMISAclPropagationEnum.OBJECT_ONLY)
|
||||||
{
|
{
|
||||||
throw new CMISConstraintException("Unsupported ACL propagation mode: " + propagation);
|
throw new CMISConstraintException("Unsupported ACL propagation mode: " + propagation);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user