Different user access login to different page in dash_auth

Can you share how the perm[current_user] add into the existing code and able to restrict the user?

How to call it for the validation if I have a listing which contain username, password and role stored in a dataframe (will based on the role to restrict the user)?

example, “admin” role able to view all the page and “view only” able to view the page-1.