Organic Groups Site Role Assign

Component ID

2033223

Component name

Organic Groups Site Role Assign

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

583

Component created

Component changed

Component body

Grant a user a site wide role upon joining a group.

Unlike Og user roles, this role is not temporary, meaning the user will have the role wherever they are in the site.

To configure, add the site role field to a group bundle using the organic group field configuration. Use hook_field_access or a field access module to configure who can use this field.

The role is removed when the user membership is deleted and they belong to no other groups that granted that role.

Only tested with og-7.x-2.x