Show store log history
Description
The store actions are being logged. Now is the question , which information should be shown to whom ? Instead of allowing everything to everyone right away, the first approach would be a "what is needed?".
First use case:
- There still seem to be some foodsavers who sign out of their slot without messaging the team. ATM store managers either take screenshots or write down who is in the slot so they can see who signed out without message. It is still difficult to prove and this bookkeeping violates data privacy. Here it would help if "sign outs" from slots can be seen a) to the store manager about everyone b) to the foodsaver affected by it themselves.
Impact
store managers / foodsaers
Proposal
- "Duplicate" the code from the "pickup history" and adjust it to the store log history.
Only show entry of log action type - StoreLogAction::SIGN_OUT_SLOT , If store manager , no further restrictions apply (sorted by date desc) If foodsaver then limit to fs_id_a = $this->session->id()
Links / references
Edited by OnceUponAFoodsharingTime