WordPress / WordPress/Learn

Custom user roles for Learn WordPress

Open
#220 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Learn Plugin [Type] Enhancement Priority - High
Dominant language
PHP
Stars
333
Forks
127
Avg merge
1d 7h
Merged PRs (30d)
11

Description

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:

  • Workshop Reviewers, which would provide "Deputy"-level access for reviewing workshop applications
  • Lesson Plan Editors, which would provide edit access to all Lesson Plans on the site

With this proposal, the full list of user roles on Learn would look like:

User Role Permissions
Author Edit access to specific Workshops and specific Lesson Plans
Lesson Plan Editors Edit access to all Lesson Plans
Editors Edit access to all Lesson Plans, all Workshops, and Courses
Workshop Reviewers Edit access to all content types, deputy-level access to meta field for application vetting, and ability to add new users to the site
Administrators Full site access and permissions

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked proposal discussion and reviewing how user roles and permissions are currently registered in the Learn repository. Define the two proposed roles with the listed access levels, then verify that each role can access only the intended content and application-review actions. The issue names no files or tests, and its old discussion should be checked for a current decision before work begins.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
authorization, content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.