Skip to content

Use the Nginx Helper | Purge cache capability to allow for purging from admin toolbar[Master] #420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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
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