Closed jussisaurio closed 3 years ago
Resolved it like this for the time being: https://github.com/raimohanska/ourboard/commit/7261834f87c9dca59467dd711697af56a4727409 (Show a different message if user has local copy of restricted board and is logged out)
I think that's a good solution. Further, if the user intentionally signs out, we should probably clear all private boards from local storage, amirite?
Added clearing local boards on login. Try!
Create restricted board Go to board. Sign out. UI still lets you see the content and do stuff. Do something, e.g. create a note. Refresh. UI still lets you see the board (although backend logs “Access denied”
Suspecting this has to do with the new synchronization mechanism