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
Should be from least to most permissions. This enables quicker scanning and reduce chances for errors as site builders edit permissions.
Proposed resolution
Enable full permissions for administrator on the content type Review.
Comment | File | Size | Author |
---|---|---|---|
#2 | assign-administrator-role-low-weight-2091911-2.patch | 3.61 KB | Devin Carlson |
#1 | assign-administrator-role-low-weight-2091911-1.patch | 522 bytes | Devin Carlson |
permissions-commons3.png | 19.55 KB | heather |
Comments
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedA small patch to assign the administrator role a higher weight during installation.
I'm not sure if we want to feature the role or provide an update hook to increase the role's weight on existing sites.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedAn updated patch to featurize the administrator role, as it is created during site install and not provided by core. Only the role itself is featurized, permissions are left as-is.
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedTested #2 with a fresh and an existing Commons site and confirmed that the administrator role continued to be created and function properly.
Committed #2 to Commons 7.x-3.x.
http://drupalcode.org/project/commons.git/commit/76469e3
Comment #4
heather CreditAttribution: heather commentedYay! Fantastic! Thanks :)