I want to create a user type (Let’s call it “clinic” which is similar to editor role in wordpress) but with permission to add_users /create_users capability. I wanted to limit that capability of this clinic user to adding only a single “custom user role” (Let’s call it “patients”, which is similar to “customers” role in woocommerce), and nothing above that. Also when a clinic user view the list of users in wp admin, they can only see the patients list, ( But I wanted to show them only the patient users that particular clinic user created as there will be multiple clinic users) And admin can see all the clinics and patient users. Is there a way to do this? Any help to make this happen is appreciated.

New contributor
Arshikh Khan is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.


Your Answer

Arshikh Khan is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.