Skip to content
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

Request: Filter capability required to use WP Crontrol #157

Open
MadtownLems opened this issue Feb 6, 2025 · 2 comments
Open

Request: Filter capability required to use WP Crontrol #157

MadtownLems opened this issue Feb 6, 2025 · 2 comments

Comments

@MadtownLems
Copy link

Howdy,

This plugin leans heavily on manage_options to control access to the Cron events. That's awkward in our MultiSite environment, where I really don't want standard Site Administrators seeing this stuff - just us Network Admins.

I've got a wonky workaround to remove the menu item, and check access on the relevant screens, but I'd much rather just use a simple filter (and expect it would have much better future-proofing as well).

I'd love to be able to filter it to set it to manage_network_options.

Thanks for considering.

@johnbillion
Copy link
Owner

I'm planning on switching to proper meta capabilities (which will map to manage_options by default) which you can then grant, deny, or filter to your liking. No ETA just yet but it's on my todo list.

@MadtownLems
Copy link
Author

That works for me. We make extensive use of that already and can easily work with that. Cheers!

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

No branches or pull requests

2 participants