Introduce customize capability for accessing Customizer
|Reported by:||westonruter||Owned by:||ocean90|
Currently, access to the Customizer is restricted to users who can edit_theme_options. Settings also get registered with a default capability of edit_theme_options. However, settings do allow plugins to supply a different capability. Nevertheless, edit_theme_options is usually synonymous with users who are Administrators, and so if a plugin wanted to register a setting (with an edit_posts capability) for a user with a lesser role (e.g. Editors) to be able able to edit in the Customizer, the plugin would be prevented from doing so unless it granted edit_theme_options to Editors as well. This is undesirable.
Therefore, it is suggested that a new customize capability be split out from edit_theme_options. By default it can be added only to the Administrator role, but if a plugin wants to register a setting for another role to be able to edit, they may then have the option of giving the customize capability to users with that role as well.
Change History (22)
- Keywords 2nd-opinion removed
- Milestone changed from Awaiting Review to 4.0
- Keywords 2nd-opinion added
- Type changed from feature request to enhancement