It looks like there is a small issue in crowd_update_roles_from_groups(). When there are many-to-one relationships between Crowd groups and a Drupal role in the group map it looks like the mapped role is only set if all of the groups groups are set. In reality the role should be set if any groups are set (OR'ed operation). This has been the design intent all along, and I believe that this was working correctly in the 7.x-2.0 tagged release, so apparently recent commits introduced a regression.

CommentFileSizeAuthor
#2 2720347-2.patch1.49 KBrjacobs

Comments

rjacobs created an issue. See original summary.

rjacobs’s picture

Status: Active » Needs review
StatusFileSize
new1.49 KB

This should address it.

  • rjacobs committed 74111e3 on 7.x-2.x
    Issue #2720347 by rjacobs: Many-to-one relationships not respected in...
rjacobs’s picture

Status: Needs review » Fixed

Fix committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.