From 8205d58316ced1d5ae589b29a5a1b5ecb6257ab0 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 8 Jun 2020 13:10:40 -0700 Subject: [PATCH] Corrected documentation for resource in view-query --- docs/authentication.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/authentication.rst b/docs/authentication.rst index a6c4ee79..88808428 100644 --- a/docs/authentication.rst +++ b/docs/authentication.rst @@ -245,7 +245,6 @@ view-instance Top level permission - Actor is allowed to view any pages within this instance, starting at https://latest.datasette.io/ - .. _permissions_view_database: view-database @@ -283,8 +282,8 @@ view-query Actor is allowed to view a :ref:`canned query ` page, e.g. https://latest.datasette.io/fixtures/pragma_cache_size -``resource`` - string - The name of the canned query +``resource`` - tuple: (string, string) + The name of the database, then the name of the canned query .. _permissions_execute_sql: