You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Davide Maestroni (JIRA)" <ji...@apache.org> on 2010/06/15 18:55:24 UTC

[jira] Created: (SLING-1557) List of group members using Jackrabbit userManager

List of group members using Jackrabbit userManager
--------------------------------------------------

                 Key: SLING-1557
                 URL: https://issues.apache.org/jira/browse/SLING-1557
             Project: Sling
          Issue Type: Improvement
          Components: JCR
    Affects Versions: JCR Jackrabbit User Manager 2.0.4
            Reporter: Davide Maestroni
            Priority: Trivial


It should be possible to get the list of the members of one group using the userManager service.
Now the call to "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.tidy.1.json" just return the group properties but not its members.
As per Sling syntax the node properties should be returned by calling "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.json", while the above request should return the list of the node children (the members) along with the parent node.
So my propose is to change the current behavior so to get only the group properties with the latter request and also the group members with the former one.
Otherwise, it should exist another way to get the members since it is not possible in the current implementation unless to register a customized servlet to achieve that.

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


[jira] Assigned: (SLING-1557) List of group members using Jackrabbit userManager

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

Justin Edelson reassigned SLING-1557:
-------------------------------------

    Assignee: Justin Edelson

> List of group members using Jackrabbit userManager
> --------------------------------------------------
>
>                 Key: SLING-1557
>                 URL: https://issues.apache.org/jira/browse/SLING-1557
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit User Manager 2.0.4
>            Reporter: Davide Maestroni
>            Assignee: Justin Edelson
>            Priority: Trivial
>
> It should be possible to get the list of the members of one group using the userManager service.
> Now the call to "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.tidy.1.json" just return the group properties but not its members.
> As per Sling syntax the node properties should be returned by calling "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.json", while the above request should return the list of the node children (the members) along with the parent node.
> So my propose is to change the current behavior so to get only the group properties with the latter request and also the group members with the former one.
> Otherwise, it should exist another way to get the members since it is not possible in the current implementation unless to register a customized servlet to achieve that.

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


[jira] Updated: (SLING-1557) List of group members and user memberships using Jackrabbit userManager

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

Justin Edelson updated SLING-1557:
----------------------------------

    Summary: List of group members and user memberships using Jackrabbit userManager  (was: List of group members using Jackrabbit userManager)

increasing scope. users should list memberships and groups should list members.

> List of group members and user memberships using Jackrabbit userManager
> -----------------------------------------------------------------------
>
>                 Key: SLING-1557
>                 URL: https://issues.apache.org/jira/browse/SLING-1557
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit User Manager 2.0.4
>            Reporter: Davide Maestroni
>            Assignee: Justin Edelson
>            Priority: Trivial
>
> It should be possible to get the list of the members of one group using the userManager service.
> Now the call to "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.tidy.1.json" just return the group properties but not its members.
> As per Sling syntax the node properties should be returned by calling "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.json", while the above request should return the list of the node children (the members) along with the parent node.
> So my propose is to change the current behavior so to get only the group properties with the latter request and also the group members with the former one.
> Otherwise, it should exist another way to get the members since it is not possible in the current implementation unless to register a customized servlet to achieve that.

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


[jira] Resolved: (SLING-1557) List of group members and user memberships using Jackrabbit userManager

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

Justin Edelson resolved SLING-1557.
-----------------------------------

    Resolution: Fixed

done in r956174

> List of group members and user memberships using Jackrabbit userManager
> -----------------------------------------------------------------------
>
>                 Key: SLING-1557
>                 URL: https://issues.apache.org/jira/browse/SLING-1557
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Jackrabbit User Manager 2.0.4
>            Reporter: Davide Maestroni
>            Assignee: Justin Edelson
>            Priority: Trivial
>
> It should be possible to get the list of the members of one group using the userManager service.
> Now the call to "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.tidy.1.json" just return the group properties but not its members.
> As per Sling syntax the node properties should be returned by calling "curl http://<domain>:<port>/sling/system/userManager/group/<group_name>.json", while the above request should return the list of the node children (the members) along with the parent node.
> So my propose is to change the current behavior so to get only the group properties with the latter request and also the group members with the former one.
> Otherwise, it should exist another way to get the members since it is not possible in the current implementation unless to register a customized servlet to achieve that.

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