Documentation for allow blocks on more stuff, closes #811

This commit is contained in:
Simon Willison 2020-06-08 12:32:27 -07:00
commit 5437085382
2 changed files with 100 additions and 23 deletions

View file

@ -217,7 +217,7 @@ Writable canned queries
Canned queries by default are read-only. You can use the ``"write": true`` key to indicate that a canned query can write to the database.
See :ref:`authentication_permissions_canned_queries` for details on how to add permission checks to canned queries, using the ``"allow"`` key.
See :ref:`authentication_permissions_metadata` for details on how to add permission checks to canned queries, using the ``"allow"`` key.
.. code-block:: json