Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

[UserSubstitution] Handle user removal #696

Closed
glebfox opened this issue Oct 12, 2021 · 1 comment
Closed

[UserSubstitution] Handle user removal #696

glebfox opened this issue Oct 12, 2021 · 1 comment
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@glebfox
Copy link
Contributor

glebfox commented Oct 12, 2021

Case 1:

  1. Add user substitutions to admin
  2. Relogin to update UserIndicator (if Update UserIndicator appearance when user substitutions are added/removed #678 isn't fixed yet)
  3. Remove one of the substituted users
  4. Try to select the removed user

AR:

UsernameNotFoundException apprears and app is no longer usable until it's started

Case 2:

  1. Add user substitutions to admin
  2. Remove one of the substituted users
  3. Log out
  4. Try to login with admin

AR:

UsernameNotFoundException appears and you can't login

@glebfox glebfox added the type: bug Something isn't working label Oct 12, 2021
@glebfox glebfox added this to the 1.1.0 milestone Oct 12, 2021
@glebfox glebfox self-assigned this Oct 12, 2021
glebfox added a commit to jmix-projects/jmix-security that referenced this issue Oct 17, 2021
glebfox added a commit to jmix-framework/jmix that referenced this issue Oct 17, 2021
@lovtsovaik lovtsovaik assigned konyashkina and unassigned lovtsovaik Oct 18, 2021
@konyashkina
Copy link

Tested on
Jmix version: 1.1.0-SNAPSHOT
Jmix Studio plugin version: 1.1.SNAPSHOT3625-212
IntelliJ version: IntelliJ IDEA 2021.2.2 (Ultimate Edition)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants