jmix
jmix copied to clipboard
Anonymous access to a view does not work if it's configured using resource role
Environment
Jmix version: 2.2.x
Bug Description
There are two ways of enabling anonymous access to view:
-
@AnonymousAllowedannotation - Resource Role: view permission
Application redirects to LoginView if anonymous user has resource role and permission to a view.
Steps To Reproduce
-
Download project: anonymous-access.zip
-
Launch application
-
Try to go: "http://localhost:8080/public-view"
Current Behavior
Application redirects to LoginView
Expected Behavior
PublicView should be shown