Sling
  1. Sling
  2. SLING-2083

AccessManager permissions manipulation services API

    Details

      Description

      It would be nice if the jackrabbit.accessmanager bundle expose OSGI service(s) that maps exactly the functionalities of the REST services, so that one can use their features also in a programmatic way.

      This can be useful if an application has to manage permissions without having an explicit request object (ex: from an EventListener), or in the case a user has to manipulate his account (in this case he doesn't have an administrative account, so his requests are not permitted to modify users). Also i think that, in certain situations, it could be just cleaner and simpler to write a servlet or script that directly invoke the methods, instead of find the way to invoke the REST services.

        Issue Links

          Activity

          Show
          Eric Norman added a comment - fixed in revision 1124538. Added services that mirror the REST accessmanager operations. See: http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/DeleteAces.java http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/GetAcl.java http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/GetEffectiveAcl.java http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-accessmanager/src/main/java/org/apache/sling/jcr/jackrabbit/accessmanager/ModifyAce.java
          Hide
          Eric Norman added a comment -

          Cloned from SLING-1555 so we can manage the services api for usermanager and accessmanager separately.

          Show
          Eric Norman added a comment - Cloned from SLING-1555 so we can manage the services api for usermanager and accessmanager separately.

            People

            • Assignee:
              Eric Norman
              Reporter:
              Eric Norman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development