tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Restrict access for front-end user #14

Closed dorranh closed 2 years ago

dorranh commented 2 years ago

When querying data via our Flask application, it is important that the queries submitted are not allowed to perform mutations. Ideally this could be configured in Gremlin Server, but if this is not possible then we might also be able to find a solution using Postgres auth. As a part of these changes it would also be helpful to define a query timeout so that queries submitted via Flask have some limit placed on their evaluation time. One option for doing this is in the gremlin server config file.