Open H-BAHDON opened 10 months ago
@H-BAHDON how have you 'added all the users a role:"trainee"' ? Have you change the endpoint that creates a user? Do we have any code changes?
no code was changed,
i added trainee to all the users in the database
change: in database
the problem with the dashboard is now fix, the bug was that i deleted all the users in the users table the controller was checking if the user.role = "trainee" and it didnt, so i updated the user table and added all the users a role:"trainee" delete your token and log back in and let me know if it is fix