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

Tenant module is a basic set of boilerplate configurations and tools for quick set up of isolated content editorial experiences. It is based on Group and Group Invite modules.

Usage examples

  • Different classes in a school
  • Different departments in a company
  • Different subsidiaries in a holding

Default workflow

After installation, a Tenant group type will be created. Your need to review and adapt permissions and group permissions, then create required groups and invite at least one member into each, having them "Admin" group role granted. Admins will then be able to manage their groups and members. The content permissions and group permissions are upon to you.

Features

  • Current group manager service, that can return current group instance
  • Current group plugin manager service to identify current group via pluggable source strategy. Route param, node and current user strategies are supported by default
  • Configurable condition, that checks for a current group. Can be used to manage displaying of blocks, define context rules etc.
  • Entity reference selection plugins for restriction of available entities in entity reference fields to group scope. User and Node entities are supported by default
  • Field plugin for user entity to display its group membership on profile display page
  • Views filter plugins for filtering by users with group scope restriction
  • Menu link plugin for defining group based menu links
  • Tenant front page route, which is for navigating users to their available scopes: group overview, group or group invitations overview
Supporting organizations: 

Project information

Releases