Skip to content

Commit

Permalink
SAK-44468 Auto groups not setting users as active (sakaiproject#8712)
Browse files Browse the repository at this point in the history
(cherry picked from commit 774e17f)
  • Loading branch information
bgarciaentornos authored and ern committed Oct 30, 2020
1 parent ed31211 commit c21742e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public String confirmAutoGroups(Model model, @ModelAttribute AutoGroupsForm auto
for (String userId : autoGroup.getValue()) {
Member member = site.getMember(userId);
if (member != null) {
newGroup.addMember(member.getUserId(), member.getRole().getId(), member.isProvided(), false);
newGroup.addMember(member.getUserId(), member.getRole().getId(), member.isActive(), false);
//Post Add and Remove events for each added/removed user.
if (sakaiService.getBooleanProperty(SiteHelper.WSETUP_TRACK_USER_MEMBERSHIP_CHANGE, false)) {
sakaiService.postEvent(SiteService.EVENT_USER_GROUP_MEMBERSHIP_ADD, member.getUserId());
Expand Down

0 comments on commit c21742e

Please sign in to comment.