Auto subscribe/unsubscribe via roles
bkat - April 29, 2009 - 01:44
| Project: | User mailman register |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Is it possible to have users automatically subscribed/unsubscribed via their roles? For example, if I assign someone to the coaches role, I'd love it if they were subscribed to the coaches email list. And if they are removed from that role, they should be unsubscribed from the list.

#1
I know that http://drupal.org/project/mailman_groups supported it but i never used it and i don't know if it's still compatible with current UMR releases.
At this moment, UMR by itself unsubscribes automatically users when they are removed from groups with "Can subscribe to ..." (and any of their groups has got that permission), but, viceversa, it's not able to autosubscribe a user who gets a new group with list authorization.
#2
I'm thinking to implement UMR workflow actions to achieve this request. Posponed after a more stable release.
#3
This would be a very helpful feature.
Subscribing.
#4
Ditto. I'd love this for a subscription site using uc_roles: automatically subscribes user to the club mailing list when their role is set after payment.
What can I do to help get this going?
#5
I've already coded 80% of this feature but at this moment i'm too busy with other works, so you have to wait that i get more free time for UMR.
However, supporting its development with a donation also helps.
#6
The attached patch adds the requested functionality, but it needs community review because i've no time to fully test it.
It applies against the current Dev release, maybe also to 6.x-2.0 (read the drupal manual about patches if you don't know how to apply it).
Don't forget then to do the drupal upgrade procedure.
The option is per-list, and you can enabled it in the UMR list page. When it's disabled, role permissions will never checked to subscribe/unsubscribe a user.
#7
Patch committed in the dev release. Feel free to open new issues for related bugs.
#8
Automatically closed -- issue fixed for 2 weeks with no activity.
#9
Awesome! Can't wait to test. When I get a working version of the custom Mailman interface, this will rock my club's world.