practable / bookjs

Javascript booking client for timdrysdale/relay
GNU Affero General Public License v3.0
1 stars 1 forks source link

persist groups in localStorage #13

Closed timdrysdale closed 1 year ago

timdrysdale commented 1 year ago

Group assignments for users are not persisted on the server and disappear on manifestReplacement or server restart, which could happen at any time. Workaround is to persist groups to localStorage for now. This may be ok in the long run, because a user's useful lifetime on the server is only as long as the user details are in localStorage, as clearing cache removes that user's access to their bookings (and prevents others from using the kit because the system still has their bookings).

related: show created date for the user name (so we can troubleshoot "missing bookings")

timdrysdale commented 1 year ago

Groups and sessions are persisted to local storage in the component StartUp.vue