The problem is redirecting the user from that page.
User A has a level of access = 1 which allows them to do everything. They have a menu named Admin Menu.
User B has a level of access = 2 which allows them to only view. They have a menu named Volunteer Menu.
If I login as User B and I want to view a client, how do I redirect them back to the Volunteer Menu?
I can't link directly to a location for redirection because there is one script for each function which can be seen by all. In the example above, there is only one view script.
So, if I create a link in the view script which says, volunteer-menu.php, then anyone who uses the view script will be sent to the volunteer-menu.php.
What should happen is that the link, when clicked, should check, I guess, against who is logged in, and then redirect the user to the appropriate menu.
Did that make sense?