[MAGNOLIA-1329] Expose getRoles in the Group interface Created: 31/Jan/07  Updated: 23/Jan/13  Resolved: 27/Aug/07

Status: Closed
Project: Magnolia
Component/s: security
Affects Version/s: None
Fix Version/s: 3.5 RC1

Type: New Feature Priority: Major
Reporter: Magnolia International Assignee: Sameer Charles
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File api improvement_group.diff     File api improvement_group.diff    
Issue Links:
relation
is related to MAGNOLIA-1594 Extend User API to allow fetching all... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The Group interface, like the User interface, currently has "add", "remove" and "has" Role methods. However, it lacks its get counterpart, that User exposes.



 Comments   
Comment by Magnolia International [ 02/Feb/07 ]

on a related note, the GroupManager could use a getAllGroups method.

Comment by Yuanhua Qu [ 09/Aug/07 ]

It would be so helpful if you can add get methods for Group like "getAllRoles" ....(just like User Interface). I'm writing scripts using magnolia API and need to pull out that info

Comment by Yuanhua Qu [ 22/Aug/07 ]

get methods for groups

Comment by Yuanhua Qu [ 22/Aug/07 ]

get methods for group

Comment by Yuanhua Qu [ 22/Aug/07 ]

Sorry for the duplicated attachment, first time did it

I added some get methods to get group and role info related to group. My code change is in the attachment I just submitted. Hope it can be helpful.

Comment by Philipp Bracher [ 27/Aug/07 ]

Applied. RoleManager.getAllRoles() would be nice as well

Thanks

Generated at Mon Feb 12 03:25:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.