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
Custom user roles for Learn WordPress #220
Comments
That seems like a good idea, and it's not hard to implement. WP's role system can be limiting, because users can only have 1 role, but it's probably good enough in this case. On WordCamp.org w/ have a hardcoded list of usernames, and add specific capabilities to them at runtime, but I don't think that's needed in this context. Here we don't need to require proxy access, or grant access to multiple sites. I'd personally lean towards trusting folks with the regular |
We've bumped into a few issues where folks have editing content that we would rather they not, such as the lesson plan template reusable block. Thanks @varlese for summarizing this. |
That's a helpful example @courane01, thanks! In practice, I think the only role we're using right now is Editor, since nothing else quite fits the team's workflow. Two places where that really "breaks" are:
On that second point, though, I'd defer to @courane01's thoughts since she works a lot more closely with onboarding new team members! |
I'll add my support to the need to have more defined roles for Learn. I'm in the middle of trying to unpick what has happened to 2 lesson plans. The drafts were created (without using the defined style guide) and then subsequently deleted as they went down the workshop route instead. However, someone was willing to work on these as lesson plans and now we have to start from scratch. Therefore a review process before anyone deletes or publishes something in Learn is needed. |
Adds two new custom roles, Lesson Plan Editor and Workshop Reviewer, to the Learn site, which necessitates using custom capability types for the Lesson Plan and Workshop post types. Also introduces a custom capability for viewing/managing internal notes on the Workshop post type (enabled by the Internal Notes plugin), because only Admins/Workshop Reviewers should be able to see the notes, not Editors. Fixes #220 Fixes #223 Co-authored-by: Ian Dunn <[email protected]>
Proposed changes:
|
I agree with Courtney's concern, So many roles might create confusion. So here we can have a few roles, like:
|
Agree with both @courtneyr-dev and @webtechpooja. I'd vote for the streamlined version that Pooja has outlined above. |
As part of this discussion, I'd like to propose two custom user roles for Learn WordPress. The goal would be to add in these two new user roles to help create more granular user access to better reflect the structure and permissions needed for contributing.
The two new proposed roles would be:
With this proposal, the full list of user roles on Learn would look like:
The text was updated successfully, but these errors were encountered: