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
In an application with access control (from start.vaadin.com), the server-side access control rules are not applied immediately when a new view is added. This leads to being redirected to /login if you try to navigate to a recently added public view if you are not logged in. The view can be accessed without being logged in after restarting the server.
Expected-behavior
Expected that the server-side access control settings are updated immediately when a new view is added.
Reproduction
Create an application on start.vaadin.com with access control for a /foo view and no access control for a/bar view.
Launch in dev mode
Copy views/bar.tsx into views/baz.tsx
Navigate to the new view from the new menu entry
Reload the page and observe that you're redirected to the login page.
Restart the server
Repeat steps 4 and 5 and observe that the view is still rendered after the reload
System Info
Vaadin 24.5.2
The text was updated successfully, but these errors were encountered:
Describe the bug
In an application with access control (from start.vaadin.com), the server-side access control rules are not applied immediately when a new view is added. This leads to being redirected to
/login
if you try to navigate to a recently added public view if you are not logged in. The view can be accessed without being logged in after restarting the server.Expected-behavior
Expected that the server-side access control settings are updated immediately when a new view is added.
Reproduction
/foo
view and no access control for a/bar
view.views/bar.tsx
intoviews/baz.tsx
System Info
Vaadin 24.5.2
The text was updated successfully, but these errors were encountered: