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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emptyvoid’s picture

Adding patch for moderation testing.

emptyvoid’s picture

Status: Active » Needs review
emptyvoid’s picture

Issue summary: View changes
nielsvm’s picture

Status: Needs review » Closed (fixed)

I agree with this, it makes life easier of those needing it and 'purge on-screen' by no means represents those block forms.

[7.x-1.x 797a2d1] Issue #2368513 by emptyvoid: Separate permissions for ajax status and purge buttons
 2 files changed, 35 insertions(+), 1 deletion(-)

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.