You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tested it for my app, and because I need any of my staff to login as a user, I added the login callback: SU_LOGIN_CALLBACK = "example.utils.su_login_callback"
The problem is that now, any staff can login as superuser and edit their own permissions...
How can I restrict the login as to non-staff user only ?
Thanks
The text was updated successfully, but these errors were encountered:
This package is great work, thanks !
I've tested it for my app, and because I need any of my staff to login as a user, I added the login callback:
SU_LOGIN_CALLBACK = "example.utils.su_login_callback"
The problem is that now, any staff can login as superuser and edit their own permissions...
How can I restrict the login as to non-staff user only ?
Thanks
The text was updated successfully, but these errors were encountered: