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.
Only a single purge permission is provided for access to purge interfaces. This single permission governs access to the purge sync ajax notice, administration, and purge buttons. We believe that separate permission should exist for as granular access as possible so that different user roles can view or access different aspects of the module.
The following patch provides the separation while also providing a update hook to migrate previous versions to the new dual permission scheme.
Comment | File | Size | Author |
---|---|---|---|
#1 | acquia_purge-separate_permissions-2368513.patch | 2.15 KB | emptyvoid |
Comments
Comment #1
emptyvoid CreditAttribution: emptyvoid commentedAdding patch for moderation testing.
Comment #2
emptyvoid CreditAttribution: emptyvoid commentedComment #3
emptyvoid CreditAttribution: emptyvoid commentedComment #4
nielsvm CreditAttribution: nielsvm as a volunteer and at Acquia commentedI agree with this, it makes life easier of those needing it and 'purge on-screen' by no means represents those block forms.
The implementation is slightly different compared to the patch, but boils down to the same thing. The name of the permission is use manual purge blocks and gets assigned to all roles already holding purge on-screen.
Thanks for suggesting this and coming up with a patch!
Expect this in release 7.x-1.2.