Auto assign og group + og role

medon
Is it possible to automatically (maybe with rules?) assign new users (after user_save) to a default class/og-group and give them a specific og-role (like student). Or do I need to program this? Kind regards
James Aparicio

Hi medon,

Hi medon,

Yes, for sure this is possible with rules.

Best regards

medon

Thanks

Hi James, Thanks for your feedback. Which action do i need to set? I just tried "og_give_og_role_to_user", "og_subcribe_user", "og_grant_og_role", etc.. None of these actions seem to work. Regards
James Aparicio

Hi medon,

Hi medon,

You need to subscribe the user first

And then give him the role.

Best regards

kdevarapalli

Need help

Hi James, Can you please list the steps in setting up the rule - which will auto assign a group to the new user? I tried few different ways and nothing seemed to work. I'm on D7. Cheers