reichlab / forecast-repository

Codebase for Zoltar forecast repository
https://zoltardata.com/
GNU General Public License v3.0
6 stars 3 forks source link

Review current API authorization/permissions #279

Open matthewcornell opened 4 years ago

matthewcornell commented 4 years ago

We are considering (re-)opening up API access to anyone regardless of whether they have a Zoltar account or not. First we need to review and clarify the authorization/permission scheme we want to have for them and other users. This issue is to summarize our current permissions by creating a table that lists resources (projects, models, forecasts, etc.) vs. possible operations (CRUD - create, read, update, delete). Each table cell will indicate yes or no for three user levels: anonymous, non-staff, and staff. (The fourth level - superuser - can do any operation in the system.)

matthewcornell commented 3 years ago

Here's my summary of permissions for all urls/endpoints.

Question:

url-permissions-2020-11-23.xlsx

matthewcornell commented 3 years ago

MUS: Top-of-the-head points: