You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/04/29 17:53:54 UTC

[jira] Created: (JCR-2621) principalbased ACL editing fails if principalName differs from the authorizableID

principalbased ACL editing fails if principalName differs from the authorizableID
---------------------------------------------------------------------------------

                 Key: JCR-2621
                 URL: https://issues.apache.org/jira/browse/JCR-2621
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.1.0, 2.0.0
            Reporter: angela
             Fix For: 2.2.0


this issue has been reported by alexK:

editing the permissions for a principal whose name differs from the id of the corresponding user/group fails with AccessControlException.

i quickly had a look at it and the main problem is caused by the ACEditor that assumes that the last segment of the 
path corresponds to the principal name. this isn't true if the principalName differs from the id.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JCR-2621) principalbased ACL editing fails if principalName differs from the authorizableID

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela reassigned JCR-2621:
---------------------------

    Assignee: angela

> principalbased ACL editing fails if principalName differs from the authorizableID
> ---------------------------------------------------------------------------------
>
>                 Key: JCR-2621
>                 URL: https://issues.apache.org/jira/browse/JCR-2621
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: angela
>            Assignee: angela
>             Fix For: 2.2.0
>
>
> this issue has been reported by alexK:
> editing the permissions for a principal whose name differs from the id of the corresponding user/group fails with AccessControlException.
> i quickly had a look at it and the main problem is caused by the ACEditor that assumes that the last segment of the 
> path corresponds to the principal name. this isn't true if the principalName differs from the id.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-2621) principalbased ACL editing fails if principalName differs from the authorizableID

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-2621.
-------------------------

    Resolution: Fixed

> principalbased ACL editing fails if principalName differs from the authorizableID
> ---------------------------------------------------------------------------------
>
>                 Key: JCR-2621
>                 URL: https://issues.apache.org/jira/browse/JCR-2621
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: angela
>            Assignee: angela
>             Fix For: 2.2.0
>
>
> this issue has been reported by alexK:
> editing the permissions for a principal whose name differs from the id of the corresponding user/group fails with AccessControlException.
> i quickly had a look at it and the main problem is caused by the ACEditor that assumes that the last segment of the 
> path corresponds to the principal name. this isn't true if the principalName differs from the id.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.