nycmeshnet / meshdb

A convenient, stable, and sane database for tracking Members and Nodes for use with robots and humans
https://db.nycmesh.net
MIT License
12 stars 14 forks source link

403 Forbidden for unauthenticated API views #122

Closed Andrew-Dickinson closed 9 months ago

Andrew-Dickinson commented 9 months ago

http://meshdb.meshsvc-grand.mesh.nycmesh.net/api/v1/installs/

This view should work authenticated, but does not work in incognito. This is because the browser is making an OPTIONS request in addition to the GET request, which the InstallListCreatePermissions class is not returning True for

Andrew-Dickinson commented 9 months ago

Also please add a regression test covering an OPTIONS request