Link to canned query permissions documentation

pull/809/head
Simon Willison 2020-06-06 12:46:40 -07:00
rodzic 415ccd7cbd
commit f1daf64e72
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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.

Wyświetl plik

@ -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