Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
In a scenario where we have different user roles that can administer (create/edit/delete) the same content types but want to manage grant permissions separate for each content type.
For example:
- user_role1 administer content_type1 and content_type2
- user_role2 administer content_type1 and content_type2
- user_role1 just can has grant permissions to content_type1
- user_role2 just can has grant permissions to content_type2
Proposed resolution
Improve grant permissions for node types by user role and that needs create an specific grant permissions for each node type.
Comment | File | Size | Author |
---|---|---|---|
#6 | interdiff-5-6.txt | 1.33 KB | jungle |
#6 | 3164991-6.patch | 3.74 KB | jungle |
#5 | 3164991-5.patch | 3.62 KB | jungle |
Comments
Comment #2
nachosalvador CreditAttribution: nachosalvador at Ymbra commentedComment #3
nachosalvador CreditAttribution: nachosalvador at Ymbra commentedComment #4
jungleUse DI
Comment #5
jungleComment #6
jungleExplain why to add this prefix nodeaccess
Comment #8
jungleCommitted to the 2.0.x branch. Thanks!