Removing a foodsaver from a district removes verification by "themselves"
Summary
(Summarize the bug encountered concisely)
Steps to reproduce
- Have a verified foodsaver and be his ambassador for the home district
- As ambassador go to the - "foodsaver" page.
- Remove the foodsaver under (options - "Aus Bezirk löschen")
- Check History of this foodsaver -> verification is removed and in the history it is written as he would have done it himself - although it was done by a third party
What is the current bug behavior?
In the history "the foodsaver removes his own verification".
What is the expected correct behavior?
Don't remove verification or write history if removal is done from a third person. or see explanation and ideas here : https://yunity.slack.com/archives/CDFSR3Y4U/p1606755261071000?thread_ts=1606741723.066500&cid=CDFSR3Y4U
Relevant error messages and/or screenshots
Possible fixes
- check in deleteFromRegion if the fsid is the "this->session->id"
- not being able to remove user on the "foodsaver" page if he has still his verification.
Edited by -