Add a toggle so that the admin of each time can decide from the dashboard whether all users on their team can view each others' locations or not.
This also requires implementing the logic to prevent people from seeing others when this toggle is switched in the mobile app.
The original plan for individual user controls like this will be scrapped (and we can probably remove that field in the database and deal with this in a separate table)
A toggle or button for the admin (user of this web program) to decide if all users on their team can view each others' locations or not. In the background this should update the canViewOthers field in the user records for any user on the admins "team" (==teamId).
Add a toggle so that the admin of each time can decide from the dashboard whether all users on their team can view each others' locations or not. This also requires implementing the logic to prevent people from seeing others when this toggle is switched in the mobile app.
The original plan for individual user controls like this will be scrapped (and we can probably remove that field in the database and deal with this in a separate table)
A toggle or button for the admin (user of this web program) to decide if all users on their team can view each others' locations or not. In the background this should update the canViewOthers field in the user records for any user on the admins "team" (==teamId).