no api support in GroupProvider for valid but no user/empty group

Description

This is related to SAK-17414, where the check for valid provider id in Admin Realms tool is done by using getUserRolesForGroup() function of GroupProvider API. Currently, if the group has no user, the group provider id is rejected as invalid.

However, there will be cases that group is created ahead of adding any user into it. We need an api call dedicating for verify group existence, and not relying on group member(s).

Activity

Show:

Hudson CI Server September 13, 2011 at 5:05 AM

Integrated in kernel-trunk #376 (See http://builds.sakaiproject.org:8080/job/kernel-trunk/376/)
Added @since to aid developers.

Matthew Buckett September 13, 2011 at 4:08 AM

This added groupExists() method to the GroupProvider.

Anthony Whyte July 29, 2011 at 8:19 AM

Changing 1.1.x merge status to "none". This is an API change and not appropriate for back-porting to a maintenance branch.

Anthony Whyte January 25, 2011 at 5:36 PM

1.2.x, r87600.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Labels

Created October 7, 2010 at 1:52 PM
Updated April 25, 2018 at 3:18 PM
Resolved October 5, 2011 at 3:50 AM
Loading...