mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Corrected documentation for resource in view-query
This commit is contained in:
parent
5437085382
commit
8205d58316
1 changed files with 2 additions and 3 deletions
|
|
@ -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/
|
Top level permission - Actor is allowed to view any pages within this instance, starting at https://latest.datasette.io/
|
||||||
|
|
||||||
|
|
||||||
.. _permissions_view_database:
|
.. _permissions_view_database:
|
||||||
|
|
||||||
view-database
|
view-database
|
||||||
|
|
@ -283,8 +282,8 @@ view-query
|
||||||
|
|
||||||
Actor is allowed to view a :ref:`canned query <canned_queries>` page, e.g. https://latest.datasette.io/fixtures/pragma_cache_size
|
Actor is allowed to view a :ref:`canned query <canned_queries>` page, e.g. https://latest.datasette.io/fixtures/pragma_cache_size
|
||||||
|
|
||||||
``resource`` - string
|
``resource`` - tuple: (string, string)
|
||||||
The name of the canned query
|
The name of the database, then the name of the canned query
|
||||||
|
|
||||||
.. _permissions_execute_sql:
|
.. _permissions_execute_sql:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue