pick up groups from a delegated group manager view

Goal of the feature :

Providing an easy to use view to users (who aren't admins or have knowledge of group structure) to allow them to select one or more groups that they are allowed to see in order to share/assign a ressource in the portal or in a portlet (to avoid redundant code).

 

Example of use case :

on newsReaderPortlet :

If a user want to add a feed in the news reader portlet and to publish it to a group the user should know the exact group name and when rights are delegated to some user this isn't really easy to set. So having an easy to use feature that to select a group would help a lot in a such case.

1 - As example a user want to define a role on his feed :

2 - The user click on "add a role" and this action open a such box :

On this view there should be something that will filter on which groups the user can have a view, maybe based on permission, or a defined mapper/processor that use customized bean definitions. this filter will present as root node only node in the group tree that user as permission to see.

3 - The user select the group(s) that he can see and finaly after clicking "review" (or one other text), he gets back on the portlet with the role selected as define :

 

How to do that :

  • Developing  an api in the portal that return groups that a user can see.
  • Providing an ui that render the group tree where user can navigate on the group tree and where he can select groups that he wants to select, but how to provide this ui ? my idea is to provide a full jquery UI script/plugin in the ResourceServingWebapp is it possible ?

 

Questions ? Point of views ?

Â