Maybe another there's a way to accomplish this, but I'm struggling to find it.
When a user registers with a registration key, I would like it to assign the user to a corresponding group AND a corresponding role.
This way I can control not only what group content that user sees, but what permissions he has to view a block, page, etc.
Is there a way to do this?
Comments
Comment #1
jonathan.kim commentedI'm working on the same thing. I think the best way to do it is to modify the Invite module (if that's what you're using to create the reg keys) to insert a new row into the OG User Roles table.
Comment #2
Taxoman commentedAlso see this initiative: http://drupal.org/node/803172