Possible to add a organic group role programmatically? Im trying to programmatically add OG group roles and assign permissions through an update hook. Is this possible?
It seems that hook_og_default_roles() will only assign the role to new group members. The role must first exist in the roles table. You can do this by creating it in the OG UI or by using og_role_create() and og_role_save () as above.