Please excuse me if this has been asked before, but I did search.
I would like a user who has become of an OG group to also be granted a drupal role.
ie:

Drupal roles:
anonymous
authenticated
administrator
Member (custom group)

OG:
Group1

If I approve an application for Group 1 then they will also be granted a Member role.
I can only assume that this should be able to be done via rules, but I am in no way familiar with this, so if it can be done can someone please provide a guide for dummies for me.

Thankyou

Comments

pmflav’s picture

Sherbet’s picture

did you ever get an answer to this?

mitchell’s picture

Component: Miscellaneous » Provided Module Integrations

Updated component.

tr’s picture

Component: Provided Module Integrations » Rules Core
Issue summary: View changes
Status: Active » Closed (outdated)

Old issue, so I suspect the original poster is no longer following this or needing this ...

Without knowing the details, it should be easy to set up a Rule to react on an OG event then grant a Drupal role. I don't know what OG events are available, but I do know that OG provides Rules integration so you could ask in the OG queue if you are unsure which OG event to use in this situation. I'm assuming that there's an event generated when OG grants membership or when the application is approved, since those would be a logical events to have.

There are many examples here in the issue queue and in the Rules documentation which show you how to set up a rule. If you're still having problems after trying to do this yourself, export the rule you're working on and post it along with some details and we'll see if we can help you get it working.