Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Required by role

846 sites Security covered Drupal 10–11
View on drupal.org

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

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
6
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 6
Maintenance
Dormant

Release Timeline

Releases

Version Type Core 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