Bug: store manager bells after loosing store management (new foodsaver, unconfirmed slots)
Summary
After removing myself from the list of store managers, the bells for unconfirmed slots and new foodsavers for the store stay.
Steps to reproduce
- Be a store manager of a store with slots.
- Pick a slot with a different account. Do not confirm it with the store manager account.
- Apply for the store with a third account.
- Login as the store manager.
- There is one bell for 3 unconfirmed slots.
- There is one bell for new foodsaver application.
- Change the list of store managers, remove the current store manager.
- Check if the bells persist.
- Logout and Login: check if the bells persist.
What is the current bug behavior?
- There is one bell for 3 unconfirmed slots.
- There is one bell for new foodsaver application.
- I change the list of store managers, not being one myself.
- The bells are still there.
- Logout and Login: the bells are still there.
What is the expected correct behavior?
Bells that would not be created for a normal foodsaver in a store are removed upon loosing store manager rights.
Relevant error messages and/or screenshots
(This is from production, so I tried to remove all remotely personal information. It is visible though that I only have foodsaver rights (only 2 buttons in top left) but the bells.)
Possible fixes
Probably removing bells when store manager rights change.
Edited by Alex