This module allows you to automatically assign users to groups based on a user attribute and taxonomy terms. It creates groups for each term and uses a matrix to map user attributes to group memberships, enabling content and media access control by taxonomy.
The Group SAML (gsaml) module allows you to manage group permissions based on a selected user attribute. The module makes use of the following configurations: an array of the user attributes, an array of group roles and an array of terms. It then creates a group for each term. The combination of groups with roles creates a matrix which is filled with the strings from the user entity.
Therefore it is possible to manage user access to content and media by taxonomy term.
Features
- Associate content and media to Group's by taxonomy term
- Associate user membership to Group's according to a user attribute
- Associate Terms with group roles
- Configuration for vocabulary
- Configuration for group type
- Configuration for user attribute
- Configuration for fields related to vocabulary
Requirements:
- Group
- Group Media
- simpleSAMLphp Authentication
Configuration
The configuration page can be found in/admin/group/saml.
First you need to:
- Create a vocabulary
- Create a group type
- Create a entity reference field in the group type (2) related to vocabulary (1)
- Go to
/admin/group/types/manage/{group_type}/contentand install in the Content you intent to be controled by groups - Create a entity reference field in the contents selected in (4) related to vocabulary (1)
- Create a Text(plain, long) field in user where shpuld be save users ADFS roles
Now you can select all this fields in the config form and fill the matix which provide the association between user ADFS roles and the terms/roles.
If your site has already content created, we recommend to:
- Click "Associate group with term"
- Click "Associate content"
- Click "Associate members"
Always select "Save Configuration" before using any of these options.
Ask your assistant about Group SAML
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- Group gnode
- Group Media
- simpleSAMLphp Authentication
- group Drupal core
- taxonomy Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 8.x-2.6 | Stable | 8–10 | Oct 11, 2023 |