jmix icon indicating copy to clipboard operation
jmix copied to clipboard

Anonymous access to a view does not work if it's configured using resource role

Open Flaurite opened this issue 1 year ago • 0 comments

Environment

Jmix version: 2.2.x

Bug Description

There are two ways of enabling anonymous access to view:

  • @AnonymousAllowed annotation
  • Resource Role: view permission

Application redirects to LoginView if anonymous user has resource role and permission to a view.

Steps To Reproduce

  1. Download project: anonymous-access.zip

  2. Launch application

  3. Try to go: "http://localhost:8080/public-view"

Current Behavior

Application redirects to LoginView

Expected Behavior

PublicView should be shown

Flaurite avatar Mar 19 '24 11:03 Flaurite