Open HeloiseS opened 3 months ago
Made pull request to limit permissions on writing to the database through endpoints with just a token (https://github.com/genghisken/psat-server-web/pull/29).
A couple of things to note:
api/auth-token/
endpoint with a username and password, and once granted are currently eternal - we probably want to restrict this but it requires changing the model/migrating the database Do we want to update this client to ask for username and password if a token is not provided?
token expiry hierarchy: vra (admin) -> doesn't expire OxQUB & friends -> expire after 1 year strangers -> 1 week
Addressed, pending proper migration implementation, as of https://github.com/genghisken/psat-server-web/pull/30
TODO