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 2009/02/24 07:48:01 UTC

[jira] Created: (SLING-871) Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges

Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges
--------------------------------------------------------------------------------------------------------------------------

                 Key: SLING-871
                 URL: https://issues.apache.org/jira/browse/SLING-871
             Project: Sling
          Issue Type: Improvement
          Components: JCR
            Reporter: Eric Norman
            Priority: Minor


The AccessControlUtil.addEntry(..) methods enable creating an AccessControlEntry for denied privileges, but there is no easy way to lookup that information at a later time.

My proposal is to add a new 'isAllow' method to the AccessControlUtil class to enable looking up the 'isAllow' flag for an AccessControlEntry.

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


[jira] Updated: (SLING-871) Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges

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

Eric Norman updated SLING-871:
------------------------------

    Attachment: AccessControlUtil_isAllow.diff

Patch for adding AccessControlUtil.isAllow(ace) method.

> Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-871
>                 URL: https://issues.apache.org/jira/browse/SLING-871
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Eric Norman
>            Priority: Minor
>         Attachments: AccessControlUtil_isAllow.diff
>
>
> The AccessControlUtil.addEntry(..) methods enable creating an AccessControlEntry for denied privileges, but there is no easy way to lookup that information at a later time.
> My proposal is to add a new 'isAllow' method to the AccessControlUtil class to enable looking up the 'isAllow' flag for an AccessControlEntry.

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


[jira] Resolved: (SLING-871) Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges

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

Juan Jose Vazquez Delgado resolved SLING-871.
---------------------------------------------

    Resolution: Fixed
      Assignee: Juan Jose Vazquez Delgado

Patch applied in revision 747309. Thanks to Eric Norman for the contribution.

> Add new method to AccessControlUtil to determine if an AccessControlEntry contains granted privileges or denied privileges
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-871
>                 URL: https://issues.apache.org/jira/browse/SLING-871
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Eric Norman
>            Assignee: Juan Jose Vazquez Delgado
>            Priority: Minor
>         Attachments: AccessControlUtil_isAllow.diff
>
>
> The AccessControlUtil.addEntry(..) methods enable creating an AccessControlEntry for denied privileges, but there is no easy way to lookup that information at a later time.
> My proposal is to add a new 'isAllow' method to the AccessControlUtil class to enable looking up the 'isAllow' flag for an AccessControlEntry.

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