How to restrict users of other roles from seeing the site administrator details?

28/07/2018


I have created a role called “Site Admin” and created a user with that role. When i log in with that username. “People” menu is showing in toolbar only when we give “adminster user” permissions to site admin. But when we give adminster user permission site admin can see and edit users in the site. These includes our main administrative users. How can i give permission so that site admin can only see the users excluding administrator user?

قالب وردپرس