Can’t edit Users
-
Hi
I have a user role with all the “Users” capabilities turned on (edit, delete, add etc).
But I can only view the users in the backend – I can’t edit them. When I try and access the edit page directly, it says “Sorry, you are not allowed to edit this user.”
How can I allow a non-admin user role to edit users?
I even tried adding the capability to my functions.php file using:function edit_give_manager() { // Get custom role $give_manager = get_role('give_manager'); $give_manager->add_cap('edit_users'); } add_action( 'init', 'edit_give_manager' );
But that didn’t work either.
Appreciate your help,
Thanks
Ian
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can’t edit Users’ is closed to new replies.