Support » Plugin: LifterLMS » LMS Manager Rol can delete Administrator

  • Resolved carloschm2002

    (@carloschm2002)


    I’m an administrator of the site, and the LMS Manager is one of the teachers there, and I now realize than she can delete me as administrator.

    She can add students and other lms manager and not new administrators and it’s OK, but I didn’t expect she can change my password or delete me also.

    I was looking for some plugin for a workaround, but I could’t find it. Something that assign a Hierarchy to each rol.

    Thank you,
    Regards,
    Carlos

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Thomas Patrick Levy

    (@thomasplevy)

    @carloschm2002,

    The LMS Manager role is, essentially, a site administrator with access outside the LMS restricted (an LMS Manager cannot manage plugins or themes, for example).

    Aside from these restrictions, they can do nearly everything else an administrator can and that does include deleting admins and modifying the user information for admins.

    I can see how this could be jarring functionality however we released the LMS Manager role nearly 2 years ago and I haven’t had any feedback like this yet so while I understand your issues here I cannot simply change the behavior.

    That said, there’s a great plugin — https://wordpress.org/plugins/capability-manager-enhanced/ — you can use to modify the capabilities of all the roles on your site. Simply remove the edit_users and delete_users capabilities from the LMS Manager role and your LMS Manager will no longer be able to delete you or change your account info.

    Unfortunately this plugin will not allow you to define a hierarchy though. It’ll require custom code to make it so that an LMS Manager can manage “lower” roles but not “higher” roles.

    However, as you’ve stated that this LMS Manager on your site is one of your teachers, perhaps the built-in Instructor role may be better suited for your needs?

    This role will not have access to edit other users (except their assistant users).

    Let me know if this help,

    Tomas you are awesome. I implemented the firs solution proposed by you because she adds new students.

    I’m safe now. Thank you, thank you, thank you!

    You are an expert in this field! No dubt!

    Best regards
    Carlos

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.