Closed heruan closed 9 months ago
VaadinWebSecurity implementation has been changed to be compatible with previous versions. The getViewAccessChecker method now returns a implementation that delegates to NavigationAccessControl.
A warning message is logged when the method is called.
Anyway, its usage should be replaced because the method will be removed in the future
In Flow 24.3
ViewAccessChecker
has been replaced withNavigationAccessControl
and the methodVaadinWebSecurity::getViewAccessChecker
has been marked deprecated and now throws aUnsuppertedOperationException
.To fix this we need to replace the call to
getViewAccessChecker()
withgetNavigationAccessControl()
.