I’ve seen this topic posted quite a few times but all of the options are not working for my particular situation. Please help!
Database: I have a boolean “IsAdmin” role in the User database
Screens: I have two screens: one for users and one for Admin. New hires need only to access their information and Admin may need to access both admin dashboards and user screens.
Login screens: Using custom inputs and login buttons
Actions: Admin login button - I set the login actions on the login to “Sometimes” only when the logged in User - “IsAdmin” is true
Issue: I can still log in as an Admin and a user into the Admin Dashboard
Tried solutions #1: The interim page between user and admin dashboard screen - with this solution, I can’t access the user page with Admin login because it logs the Admin into the dashboard only
Tried solutions #2: Admin login button - put an additional action on the button to link to Admin Dashboard screen to “Sometimes” when logged in user “IsAdmin” is true - cannot log in at all
Tried solutions #3: Deleted “isAdmin” and create a “UserRole” database with a property of name with two options: User and Admin. Relationship - Many to Many (admins can have a user and admin role). Could not access this from the action menu, deleted it and went back to “isAdmin”.