cloudflare / Cloudflare-WordPress

A Cloudflare plugin for WordPress
https://www.cloudflare.com/wordpress/
BSD 3-Clause "New" or "Revised" License
208 stars 84 forks source link

Shop managers should see cache management in admin top bar #524

Open ned-bs opened 10 months ago

ned-bs commented 10 months ago

Confirmation

WordPress version

latest

Cloudflare-WordPress version

latest

PHP version

Php 8.1

Expected result

Hi there, We have some shop managers to run our shop. They are not admin so we don't let them enter critical settings. We use user role manager plugin and remove some settings from their accounts.

Thus, Cloudflare plugin should allow Shop Managers to flush cache on the top admin bar. So they can flush cache without being admin.

Here are 2 plugins, which already solved this issue. https://github.com/pressable/pressable-cache-management/releases/tag/3.10.10 https://rankmath.com/kb/role-manager/

So it is already supported by wordpress

Actual result

No clear cache button on top admin bar.

Steps to reproduce

Login as shop manager or admin

Additional factoids

No response

References

Here are 2 plugins, which already solved this issue. https://github.com/pressable/pressable-cache-management/releases/tag/3.10.10 https://rankmath.com/kb/role-manager/

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ned-bs commented 4 months ago

Why closed, no reply since months