Description
Currently, it seems the only way to deal with nested groups is to use the findAllGroupRelationships method.
This basically returns a list of ALL SOAPNestableGroup objects which contain a getGroupMemberships methos to get the String names of the nested groups.
This is only useful because it's the only way to get nested groups. There don't seem to be any other methods to deal with the relationships and so essentially the client is responsible for re-creating the group tree and then calling findGroupByName to get the actual group objects.
It would be much nicer if the API had methods to at least help the client build the tree.
For instance just the addition of a getNestedGroupsForGroup(String groupName) which would return the names of the nested groups for the given group name would be a huge help.
It would be even better to have methods that actually built the tree starting at a given level, but that might be asking too much.
Attachments
Issue Links
- details
-
CWD-2034 adding groups to groups
- Closed