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
How can I restrict the access to the admin path to only users with the "Admin" role set in the database ?
I tried with qor-example and anybody can have access to the admin dashboard with a confirmed account.
Also, I noticed that new accounts have an empty role when they create a new account. How to set it while submitting the registration form ?
Is it possible to fix the demo ? Or is there a parameter to add somewhere to check the user's role ?
Thanks in advance for your replies and insights about these questions.
Have a nice day !
Cheers,
X
The text was updated successfully, but these errors were encountered:
Hi,
Hope you are all well !
How can I restrict the access to the admin path to only users with the "Admin" role set in the database ?
I tried with qor-example and anybody can have access to the admin dashboard with a confirmed account.
Also, I noticed that new accounts have an empty role when they create a new account. How to set it while submitting the registration form ?
Is it possible to fix the demo ? Or is there a parameter to add somewhere to check the user's role ?
Thanks in advance for your replies and insights about these questions.
Have a nice day !
Cheers,
X
The text was updated successfully, but these errors were encountered: