Hello @beginof,
Sure thing, you can check out my auth flow here:
Leveraging this, you can add customizations based upon specific user and access levels. You’ll need to make a different dictionary of access levels, and then test to make sure the user is supposed to be able to see the page they are trying to.
If they dont, then you can return something that says they dont have permission to view the content.
This would look something like:
if path in perm[current_user]:
return 'uh-oh, you dont have access to this content'
Where perm[current_user] is a list of paths they dont have access to.