Hello,
We need to be able to allow some users(assigned a custom list_editor role), to be able to assign/revoke a role(s) for users of their site. However the list of roles they can choose to assign/revoke needs to be limited.
Basically we want to reuse the user list and user edit WP pages but not show All the roles to the list_editor role, when they go to that page.
Idea is to not allow this list_editor role, to assign an administrator role to anyone- just allow them to pick from within a few custom roles(random_role1, random_role2, randome_role3 etc.. )