as the user is not yet logged in. I realize I could assign roles in the user table at signup, but that is redundant with the auth_assignment table. Is there a simple way to check the user role without adding an additional column to the user table?
But I want to prevent a guest from logging into the admin panel if they don’t have the admin role. The filter only applies after login, right? I don’t want users with “User” role to be able to login via the admin panel at all.
Yes, that would be an option. I was wondering if there might be a cleaner way, like accessing the roles somehow through the auth manager before or during login. Maybe there isn’t a way to do that.