Experiments Settings page is available to edit_posts, should be manage_options #66117
Closed
2 tasks done
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
The Experiments Settings page is available to users with
edit_posts
, however the page is for managing site-wide options. Under the hood, these settings use the Settings API which checksmanage_options
so this isn't strictly a security issue from what I can see, however the page shouldn't be shown to users who cannot edit the options.If it's intentional to show this so that users can see which settings are enabled, the Save button should be removed and the fields marked as disabled.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: