I need help with a tricky part of our admin site: authentication and routing.
- The admin site is written within the CakePHP framework.
- I have a users table named "caregivers" (left over from legacy database structure).
- Caregivers have two roles at the moment: "caregivers" and "staff". Upon login I would like them to be directed to their respective dashboard.
- For routing, when a user logs in with role as caregiver, I would like the url to end up saying: /caregivers/... For staff, it will be /staff/...
- The interface is ready with views and controllers for both caregivers and staff, although I assume the controllers will have to change due to the authentication system's structure that the successful bidder will code for me.
- I uploaded a diagram for how I see the authentication could work.
- Soon, I will also need to setup a third role for users, so the successful bidder will have setup the authentication process and routing to make it easy for me to add that to the system.
- If you have suggestions to make about how to improve this authentication system, notably to make it more secure, please let me know in your bid. This will help me select the bidder.
:-) Thank You for bidding.