Create & enforce user accounts (make v simple - email & password), so models can be given more provenance and allow more filtering.
User Description
A user is just an email and a password. All routes will be authenticated only; all users will have access to all routes.
Model Ownership & data access
A Model will have a user related to it, but this does not affect permissions; all models will be visible to all users.
Endpoints
login - login with an email and password
change_password - change a password (once logged in)
remind_password - send an email password reminder
register - register a new email and password.
The tucluster configuration settings will state whether the registration endpoint is open or not.
This is a simple approach to managing registration which could be expanded in future.
Create & enforce user accounts (make v simple - email & password), so models can be given more provenance and allow more filtering.
User Description
A user is just an email and a password. All routes will be authenticated only; all users will have access to all routes.
Model Ownership & data access
A
Modelwill have a user related to it, but this does not affect permissions; all models will be visible to all users.Endpoints
login- login with an email and passwordchange_password- change a password (once logged in)remind_password- send an email password reminderregister- register a new email and password.The tucluster configuration settings will state whether the registration endpoint is open or not.
This is a simple approach to managing registration which could be expanded in future.