/-/allow-debug tool, closes #908

This commit is contained in:
Simon Willison 2020-07-24 15:54:41 -07:00
commit 12c0bc09cc
5 changed files with 125 additions and 0 deletions

View file

@ -157,6 +157,13 @@ You can specify that unauthenticated actors (from anynomous HTTP requests) shoul
Allow keys act as an "or" mechanism. An actor will be able to execute the query if any of their JSON properties match any of the values in the corresponding lists in the ``allow`` block.
.. _AllowDebugView:
The /-/allow-debug tool
-----------------------
The ``/-/allow-debug`` tool lets you try out different ``"action"`` blocks against different ``"actor"`` JSON objects. You can try that out here: https://latest.datasette.io/-/allow-debug
.. _authentication_permissions_metadata:
Configuring permissions in metadata.json