diff --git a/docs/authentication.rst b/docs/authentication.rst index 0da5a38b..6a526f34 100644 --- a/docs/authentication.rst +++ b/docs/authentication.rst @@ -461,7 +461,7 @@ Default *allow*. view-query ---------- -Actor is allowed to view a :ref:`canned query ` page, e.g. https://latest.datasette.io/fixtures/pragma_cache_size +Actor is allowed to view (and execute) a :ref:`canned query ` page, e.g. https://latest.datasette.io/fixtures/pragma_cache_size - this includes executing :ref:`canned_queries_writable`. ``resource`` - tuple: (string, string) The name of the database, then the name of the canned query diff --git a/docs/sql_queries.rst b/docs/sql_queries.rst index a73f6bc2..6cc32da1 100644 --- a/docs/sql_queries.rst +++ b/docs/sql_queries.rst @@ -223,7 +223,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_metadata` for details on how to add permission checks to canned queries, using the ``"allow"`` key. +See :ref:`authentication_permissions_query` for details on how to add permission checks to canned queries, using the ``"allow"`` key. .. code-block:: json