raimohanska / ourboard

An online whiteboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App lets you see and make edits to board after signing out

jussisaurio opened this issue · comments

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

Resolved it like this for the time being:
7261834
(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!