jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Young (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3350) Easy-to-use utility class for adding ACEs to nodes
Date Fri, 29 Jun 2012 10:25:43 GMT

    [ https://issues.apache.org/jira/browse/JCR-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403814#comment-13403814

Jeff Young commented on JCR-3350:

Hi Angela,

I've updated the file to include an optional autoSave flag (modelled after the JcrUtil.createPath()
routines).  This required changing the exception processing a little as I can no longer roll
the session back (not really a loss as the jackrabbit version is simplified enough over the
original CQ code that it isn't doing multiple operations at once anyway).

I changed the SlingException to a generic unchecked exception.

I updated the license header, but the package name is fake, as I'm not sure where it should
go.  (I have no jackrabbit sources installed as I'm trying to get all the new CQ/Granite/Sling/Hybris
infomation rattling around in my brain to solidify before adding too much new stuff and causing
it all to explode.)

I uploaded it as a naked .java file this time as it's not really a true patch.
> Easy-to-use utility class for adding ACEs to nodes
> --------------------------------------------------
>                 Key: JCR-3350
>                 URL: https://issues.apache.org/jira/browse/JCR-3350
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-commons
>            Reporter: Jeff Young
>            Assignee: angela
>              Labels: newbie, patch
>         Attachments: AccessControlUtils.java, JCR-3350_-_Easy-to-use_utility_class_for_adding_ACEs_to_nodes.patch
> There should be any easy (one-line) method for adding an ACE to a node in a repo supporting
resource-based ACLs.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message