case:
User in Role A can only edit users of Role B but can see the edit tab for users in Role C also

Can the edit tab be hidden if the user doesn't have access to edit users in that role?