Hi

Hey, you've created a great module... thanks.

Our website at www.plusgroups.org.uk uses it extensively with our 100+ roles and 50+ groups. I noticed this though and thought you might want to know:

Not sure if this is intended behaviour, but when changing the role of a user it unsubscribes previously subscribed groups even ones that the system did not subscribe the user to.

I can understand it if the user was subscribed to the groups by the module, not so sure about ones that the user chose to be a subscriber.

Thanks

Richard

Comments

nkanand4’s picture

i am not sure if that was not an intended behavior. The module in question just adds multi-groups to the registering users and will behave exactly in the manner if the users would have themselves gone ahead and subscribed for groups.

richard.e.morton’s picture

Version: 6.x-1.2 » 5.x-1.3

oops, the wrong version was tagged for this thread. I am using Drupal 5, not 6.

Rich

rconstantine’s picture

This is an old issue, but yes, that is the intended behavior. We don't actually keep track of how the user was subscribed. Since we are subscribing users by role, it makes sense that a) they must be in a particular group if they have that role, b) closed groups are governed strictly by this module - both sub and unsub, c) if you're assigning people to open groups, the assumption is that they can freely leave, but are made a member when their role lines up and it is assumed the group has no value to them once they no longer have the role, so they wouldn't join themselves.

Perhaps if the group is an open group, the user shouldn't be unsubscribed, or perhaps there should be additional admin buttons, perhaps per group, to set the desired behavior. Care to roll a patch?