template list
field in edit form
field in group

This project is not covered by Drupal’s security advisory policy.

The Group permissions template module provides a way to manage permission override of group instances with help of permission templates.

This module is based on Group and Group permissions modules.

How it works

  • Create permission templates for each group type (/admin/group/group_permissions_template).
  • Choose the Group type you want the template is based on.
  • Set permissions you want for the template and save it.
  • Each template create an exportable configuration.
  • Enable the field "Permission Templates" in "Manage form display" in the Group type (/admin/group/types/manage/[group_type]/form-display).
  • Go in a Group instance and link a template via the field "Permission Templates".
  • When you will save the instance, the permissions template will be apply to the Group.
  • If you unset the template of the field, permissions of the group will be reset at save action.
  • If you change permissions in a template, at save action all group instances linked to the changed template will be affected.

Group permissions template 1.x

To be used with :
- Drupal 9/10
- Group 1.x
- Group Permissions 1.x

Group permissions template 2.x

To be used with :
- Drupal 10/11
- Group 2.x/3.x
- Group Permissions 2.x

Installation

  1. Install and enable the Group module
  2. Install and enable the Group permissions module
  3. Install and enable the Group permissions template module

Project information

Releases