Precursor. When a user is authenticated, they are directed to their designated route. If they are a client, they are directed to the 'client' route, if they are a market maker, they are directed to the 'mm-dashboard'. However, they can still access the route of a dashboard that is not of their role. This means that a client can access a market maker's dashboard and a market maker can access a client's dashboard. This should not be the case. They should only access their dashboards and be limited to that only unless they want to access the profile or settings routes of which they should be at liberty to access.
Precursor. When a user is authenticated, they are directed to their designated route. If they are a client, they are directed to the 'client' route, if they are a market maker, they are directed to the 'mm-dashboard'. However, they can still access the route of a dashboard that is not of their role. This means that a client can access a market maker's dashboard and a market maker can access a client's dashboard. This should not be the case. They should only access their dashboards and be limited to that only unless they want to access the profile or settings routes of which they should be at liberty to access.