Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Required by role

Security covered Under active development 883 sites

This module makes certain fields conditionally required based on the user's role. You can configure specific roles to enforce a field's requirement, making it optional for users without those roles.

This module allows fields to only be required when the current user has a certain role. For example, you could keep a certain field optional when administrators need to change something about an entity and mark it as required when editors try to do so.

Post-Installation

After installing the module, visit the edit form of the field you want to change and under 'Choose a required strategy' choose 'Required by role'. Afterwards, you can choose which roles should make the field required.

Similar projects

Drupal 10–11

Ask your assistant about Required by 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
7
Tracked since
Jan 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 6
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0 Stable 10–11 Jul 8, 2025
2.0.0-beta3 Pre-release 10–11 Feb 22, 2025
2.0.0-beta2 Pre-release 10–11 Dec 11, 2024
2.0.0-beta1 Pre-release 10–11 Dec 9, 2024
2.0.x-dev Dev 10–11 Dec 5, 2024
8.x-1.3 Stable 8–11 Dec 5, 2024
8.x-1.2 Stable 8–10 Jan 24, 2024