I am working on a project and the problem I am facing is,
There are 2 user roles Doctor and Patient. What I want to accomplish is profile of users with role of "Doctor" is accessible by all including anonymous and profile of users with role "Patient" is accessible by user himself and all the users with role of "Doctor". Rest no one can access the profile of "Patient" role.
Any help is much appreciated. Thanks in advance.