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
If I click on a router link with an unprivileged user, the meta auth is checked, and the user is redirected to the forbiddenRedirect route. But, If I copy paste the url directly in the browser like http://localhost:5173/organisations/2 then the check is not done and the user is not redirected correctly.
The text was updated successfully, but these errors were encountered:
GMolini
changed the title
meta roles do not work when loading directly page
meta roles do not work when loading page directly in browser
Sep 17, 2024
Ive got the following path in my router.js
If I click on a router link with an unprivileged user, the meta auth is checked, and the user is redirected to the forbiddenRedirect route. But, If I copy paste the url directly in the browser like
http://localhost:5173/organisations/2
then the check is not done and the user is not redirected correctly.The text was updated successfully, but these errors were encountered: