When user logged in with common shared username and password, I wanted to hide user profile for some of the user based on the given role.
So, I want a feature where user can just logged in and logged out with the given shared user name and password and, I don't want to allow them to change their password or I don't want to allow them to edit in their profile.
I have created separate role for this users.
I came to know that we can hide edit user profile with CSS:
display: none;
Is there any other way to hide user profile based on some roles?