You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2019/10/28 21:15:00 UTC
[jira] [Resolved] (SLING-8810) DeleteAce response to remove a
non-existing ACE is not consistent
[ https://issues.apache.org/jira/browse/SLING-8810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Norman resolved SLING-8810.
--------------------------------
Resolution: Fixed
Fixed at: [https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/f0b6d30eee752a31064ea2ecd9f09e4effa8330b]
> DeleteAce response to remove a non-existing ACE is not consistent
> -----------------------------------------------------------------
>
> Key: SLING-8810
> URL: https://issues.apache.org/jira/browse/SLING-8810
> Project: Sling
> Issue Type: Bug
> Affects Versions: JCR Jackrabbit Access Manager 3.0.4
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: JCR Jackrabbit Access Manager 3.0.6
>
>
> When an attempt is made to remove a non-existing ACE via a DeleteAce request, the response is not consistent.
> # When an AccessControlList doesn't exist, a "Unable to find or create an access control policy to update ..." exception is thrown
> # When an AccessControlList does exist but is empty, no exception is thrown
> # When an AccessControlList exists but there is no ACE for the submitted principalId, no exception is thrown
>
>
> Expected:
> To be consistent, the #1 scenario above should behave the same as #2 and #3 and just do nothing and not throw the exception.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)