[wp-meta] [Making WordPress.org] #4700: HelpHub & Rosetta Site role conflict
Making WordPress.org
noreply at wordpress.org
Sat Sep 7 15:57:16 UTC 2019
#4700: HelpHub & Rosetta Site role conflict
-----------------------+-----------------------
Reporter: Nao | Owner: clorith
Type: task | Status: assigned
Priority: normal | Milestone:
Component: HelpHub | Resolution:
Keywords: has-patch |
-----------------------+-----------------------
Changes (by Clorith):
* keywords: needs-patch => has-patch
Comment:
[attachment:"4700.patch"] should, for the most part, solve this, but with
one thing to take note of.
The HelpHub roles are just copying the regular post capabilities in
WordPress already, so the attached patch checks if a user can edit posts,
if they can't, then the management form shows up (that means for a
subscriber, it will show up), but it will still be hidden for an author or
editor, as they will already have access to these things already, and we
do not want ot accidentally overwrite an existing role with higher access.
The patch also fixes a capability assigned to HelpHub Editors that I
noticed gives the access to the customizer, this is now left purely for
Managers. The reason for this access is to define the menus of the site,
which are used to set up content blocks on the front page to make it
simple for all to use, but a regular editor should not be making these
changes.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4700#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list