[wp-trac] [WordPress Trac] #40922: Use finer-grained capabilities with `customize_changeset` post type
WordPress Trac
noreply at wordpress.org
Thu Aug 24 08:23:18 UTC 2017
#40922: Use finer-grained capabilities with `customize_changeset` post type
----------------------------------------+------------------
Reporter: dlh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------
Comment (by flixos90):
Thinking further about the above, [attachment:40922.7.diff] would actually
solve it in a clean way:
* Grant users with `edit_theme_options` the `customize` capability.
* Then grant users with the `customize` capability all the
`customize_changeset` capabilities.
This would be the most flexible way IMO.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40922#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list