Skip to content

Conversation

Vedant-Gandhi
Copy link
Contributor

@Vedant-Gandhi Vedant-Gandhi commented Aug 7, 2025

Description

This PR proposes using the existing Nginx Helper | Purge Cache capability to allow roles other than administrators to:

  • Purge all cache
  • Purge the cache of a specific page

These actions will be available via the admin toolbar.

  • Note: This change does not grant the roles with the Nginx Helper | Purge Cache capability access to the Nginx Helper settings. It only enables the purge cache links in the admin toolbar.

Related Issue

Proposed fix for: #243
Ref PR:#418

Screenshot at Jun 02 22-13-42

Screenshot at Jun 02 22-13-07

…om admin toolbar

- Roles having this capability will be able to purge all cache and purge a specific page from the admin toolbar link
@Vedant-Gandhi Vedant-Gandhi merged commit 5a61ef2 into master Aug 11, 2025
4 checks passed
@stefanfisk stefanfisk mentioned this pull request Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants