Is it possible to assign a role which only functions when user is groupadmin?

Events happening in the community are now at Drupal community events on www.drupal.org.
held69's picture

Hi all,

I'm trying to use this great module with Organic groups, which leaves me with the following question.

Is it possible to assign a role to a groupadmin that will only function in the context of that group?

Lets say a groupadmin receives a role after creation of a groupnode of a certain type.
Then he decides he wants to become a member of another groupnode of the same type he just became groupadmin of.
Now his groupadmin role of his own group shouldn't function. Instead he should receive a member role.

Hope this makes sense.

Thanks

Comments

Check out

Thanks, i have been using OG

held69's picture

Thanks,

i have been using OG user roles and it is a great module for using permissions in groupcontext.
However the module is also very extensive.
I am pretty new to rules but if there is an alternative within rules for OG user roles it looks that Rules even can be more efficient.

I'm quite interested in a custom php rule that can give users a role only for a specific role instead of a site wide role.

I'm not aware of anyway to do

caschbre's picture

I'm not aware of anyway to do this just in rules. The OG user roles is the only module I know of that can give specific permissions within the context of a group.

I do believe, however, that organic groups for drupal 7 will contain this functionality.

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week