Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Domain Role

Security covered Under active development 9 sites

Part of the Domain ecosystem · 53 projects

This module allows you to assign different user roles for each domain on a multi-domain Drupal site. It provides an interface to manage these domain-specific roles, ensuring users only have access to content and permissions relevant to the domain they are currently viewing. This functionality helps in managing user permissions more granularly across different sections of your website.

This module provides per-domain role functionality on Domain Access sites, for Drupal 8.

It leverages the domain_config submodule, providing a different configuration for user roles for each domain, and provides a UI to manage them.

Permissions still get defined globally -- this module partitions user roles so that each user account must be assigned a role on each domain they should have access to, instead of having the same roles across all domains. Note that admin-level access may well have ways of changing configurations in a way that is not secure -- this should only be used for lower-level staff roles without extensive admin access.

This module overrides both the core User entity class, and the Cookie authentication provider, and thus may conflict with sites using alternative authentication providers and/or otherwise override the user entity.

Drupal 10 · not 11

Ask your assistant about Domain Role

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10 Jan 29, 2025
3.0.0-alpha1 Pre-release 10 Jan 22, 2024
3.0.x-dev Dev 10 Jan 22, 2024