Can't make an adjustment as srmanager1

Description

Reproduction Steps

  • Log in as administrator

  • In another browser log in as administrator and log out immediately

  • Go to the Stock Management -> Adjustments page

  • Reload page (the login should be broken at this point)

  • Log in as srmanager1

  • Click on the Make Adjustments button for Family Planning

Result

Expected Behavior
I shouldn't be able to enter the page at all if I can't make any adjustmnets
If I can make an adjustment I shouldn't get error

Notes
Relogging seems to resolve this issue - I can make an adjustment.
Same happens for Physical Inventory (can't enter the screen at all)
Perhaps there is something wrong with right reloading when changing user?

Root Cause

  • If our token expires the cached home facility is not cleared.

Environment

None

Assignee

Unassigned

Reporter

Nikodem Graczewski

Epic Link

Components

Affects versions

Priority

Minor
Configure