• Resolved Marko

    (@markmy)


    How can I allow Instructors to add student users? Only user that Instructor can add is assistant (or what it is in english). I was able to enroll students by editing roles, but adding students is also needed…

Viewing 2 replies - 1 through 2 (of 2 total)
  • @markmy

    LifterLMS does not provide instructors with the “Add Users” capability. It has a custom set of capabilities that allow this role to only add assistants but not to add students.

    This is because in most scenarios a student gains access to a course via purchasing so we don’t want instructors to be able to bypass this by adding students to their courses.

    This possibly doesn’t make sense for every conceivable scenario but it’s the way LifterLMS works.

    If you need to allow your instructors to add users the best way to handle this would be to customize the roles that an instructor is allowed to manage.

    Here’s the filter that would allow you to do this: https://developer.lifterlms.com/reference/hooks/llms_editable_roles/

    Since LifterLMS does actually allow the role to add/edit users — but only of this specific role — capability manager plugins won’t actually allow you to change an instructor to add or modify students.

    Hope this helps,

    Thread Starter Marko

    (@markmy)

    @thomasplevy thank you! This worked very well, I was able to do my own filter in my theme functions.php and instructor can now add students as well 🙂

    • This reply was modified 3 years, 12 months ago by Marko.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow Instructor to add student users’ is closed to new replies.