Provide means to display the effective policies for a given set of principals
-----------------------------------------------------------------------------

                 Key: JCR-2649
                 URL: https://issues.apache.org/jira/browse/JCR-2649
             Project: Jackrabbit Content Repository
          Issue Type: New Feature
          Components: jackrabbit-api, jackrabbit-core
    Affects Versions: 2.1.0, 2.0.0
            Reporter: angela
            Assignee: angela
            Priority: Minor


JSR 283 currently defines AccessControlManager#getEffectivePolicies(String 
nodePath) that would allow any Permission related UI to
display what policies contribute to a particular set of privileges. In addition 
the API defines AccessControlManager#getPrivileges(String nodePath) which
returns the privileges the editing session has at the specified path.

In order to have additional flexibility we started to add custom extensions (-> 
JackrabbitAccessControlManager) that allows e.g. to retrieve the privileges any 
set
of principals has hat a specified path. I would like to extend this and in 
addition provide a method that allows to retrieve the effective policies for a 
set of principals.
Currently this can only be achieved by relying on a specific access control 
model and making assumptions about it's implementation, which obviously isn't
the desired effect.
I

-- 
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