gocodebox / gocodebox/lifterlms

Instructor role users don't show as options for Course Authors

Open
#1,953 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Enhancement
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

Reproduction Steps
  • head to a site with LifterLMS (a site that has at least 1 admin and 1 instructor)
  • /wp-admin
  • head to Courses
  • Bulk Edit one of your courses
  • Head to try and change the 'Author'
  • The Instructor users don't appear in that dropdown to change the author of the course to an 'Instructor' user
  • Only admins appear in the dropdown
Screen Shot 2022-01-25 at 11 31 50 AM

https://www.loom.com/share/c21b60fee3d6471196f33b458344d031

(Current workaround, make your instructor an admin temporarily to have them appear in the dropdown)

Expected Behavior

We'd see both admins and instructors, the roles who have permissions to author courses

  • Include a concise description of what you expected to happen (but didn't)
Actual Behavior

We don't see instructors, only admins

  • Include a concise description of what actually happens (but isn't supposed to)

This issue has be recreated:

  • Locally
  • [ x] On a staging site
  • [ x] On a production website
  • [x ] With only LifterLMS and a default theme

Will & Chris ran into this issue while creating Chris's demo site. I've seen this issue before, but I tell people to use the workaround of temporarily making their instructor an admin to resolve it.

Contributor guide

Open the contributing guide

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 in the WordPress Courses bulk-edit flow and inspect how the Author dropdown filters users by role. Done means users with the Instructor role appear alongside administrators, and the staging reproduction no longer shows the reported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.