Enforce role after subscribed

bsherwood - March 12, 2008 - 02:29
Project:OG Join Role
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I was wondering if you could give me a hand with how this may be a accomplished. I would like to allow a role to use organic groups (which OG join role does very well) but when I remove that role they are forced out of the group. I thought that by removing the role they would at least get an access denied or something like that, but nothing. Maybe this could be worked into a stable release. Any plans for OG Join Role for 6.x?

I asked this question in detail over at the OG issues queue http://drupal.org/node/233042 without any success, so since I am using OG and your module, I thought you might be able to help point me in the right direction.

Thanks.

#1

ultimike - July 27, 2009 - 22:27

If you're still interested in this functionality, I think the only way to do it would be with a custom module.

It would be tricky since there is no "hook_roles()" or anything like that - you'd have to figure out a way for your code to be called whenever a role is deleted.

Let me know if you're still interested before I spend any brainpower on it...

-mike

#2

ultimike - July 27, 2009 - 22:28
Status:active» postponed (maintainer needs more info)
 
 

Drupal is a registered trademark of Dries Buytaert.