Link to canned query permissions documentation

This commit is contained in:
Simon Willison 2020-06-06 12:46:40 -07:00
commit f1daf64e72
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ The URL on the first line includes a one-use token which can be used to sign in
Permissions for canned queries
==============================
Datasette's :ref:`canned_queries` default to allowing any user to execute them.
Datasette's :ref:`canned queries <canned_queries>` default to allowing any user to execute them.
You can limit who is allowed to execute a specific query with the ``"allow"`` key in the :ref:`metadata` configuration for that query.

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.
You may wish to use this feature in conjunction with :ref:`authentication`.
See :ref:`authentication_permissions_canned_queries` for details on how to add permission checks to canned queries, using the ``"allow"`` key.
.. code-block:: json