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.

Reply via email to