You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2010/05/17 10:35:44 UTC

[jira] Created: (SLING-1522) AccessControlUtil looks up an Authorizable where it does not need to.

AccessControlUtil looks up an Authorizable where it does not need to.
---------------------------------------------------------------------

                 Key: SLING-1522
                 URL: https://issues.apache.org/jira/browse/SLING-1522
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Base 2.0.6
            Reporter: Ian Boston
             Fix For: JCR Base 2.1.0


AccessControlUtil looksup an Authoriable in replaceAccessControlEntry, only to get the Id of the authorizable for a debug statement that asserts the ID is the principalId. Firstly authorizableId might not be principalId, and secondly its perfectly possible to have principals that dont have authorizables. Its a small patch, with no impact, I will fix.

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


[jira] Resolved: (SLING-1522) AccessControlUtil looks up an Authorizable where it does not need to.

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

Ian Boston resolved SLING-1522.
-------------------------------

    Resolution: Fixed

Fixed

> AccessControlUtil looks up an Authorizable where it does not need to.
> ---------------------------------------------------------------------
>
>                 Key: SLING-1522
>                 URL: https://issues.apache.org/jira/browse/SLING-1522
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.6
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: JCR Base 2.1.0
>
>
> AccessControlUtil looksup an Authoriable in replaceAccessControlEntry, only to get the Id of the authorizable for a debug statement that asserts the ID is the principalId. Firstly authorizableId might not be principalId, and secondly its perfectly possible to have principals that dont have authorizables. Its a small patch, with no impact, I will fix.

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


[jira] Assigned: (SLING-1522) AccessControlUtil looks up an Authorizable where it does not need to.

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

Ian Boston reassigned SLING-1522:
---------------------------------

    Assignee: Ian Boston

> AccessControlUtil looks up an Authorizable where it does not need to.
> ---------------------------------------------------------------------
>
>                 Key: SLING-1522
>                 URL: https://issues.apache.org/jira/browse/SLING-1522
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.6
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: JCR Base 2.1.0
>
>
> AccessControlUtil looksup an Authoriable in replaceAccessControlEntry, only to get the Id of the authorizable for a debug statement that asserts the ID is the principalId. Firstly authorizableId might not be principalId, and secondly its perfectly possible to have principals that dont have authorizables. Its a small patch, with no impact, I will fix.

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


[jira] Closed: (SLING-1522) AccessControlUtil looks up an Authorizable where it does not need to.

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

Justin Edelson closed SLING-1522.
---------------------------------


> AccessControlUtil looks up an Authorizable where it does not need to.
> ---------------------------------------------------------------------
>
>                 Key: SLING-1522
>                 URL: https://issues.apache.org/jira/browse/SLING-1522
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.6
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: JCR Base 2.1.0
>
>
> AccessControlUtil looksup an Authoriable in replaceAccessControlEntry, only to get the Id of the authorizable for a debug statement that asserts the ID is the principalId. Firstly authorizableId might not be principalId, and secondly its perfectly possible to have principals that dont have authorizables. Its a small patch, with no impact, I will fix.

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