raimohanska / ourboard

An online whiteboard
Other
763 stars 58 forks source link

PUT /board should refresh the board in memory in addition to updating PG DB #158

Open jussisaurio opened 3 years ago

jussisaurio commented 3 years ago

Steps:

  1. use the API to PUT an existing board by adding a new email to allowlist

Expected:

Newly added user can log in immediately

Actual:

User cannot login until the board is purged from memory

To fix:

Refresh the updated board in memory immediately.

raimohanska commented 3 years ago

I think this would call for API tests (exercise a running OurBoard server through the REST API) in addition to the existing types of tests we have