mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
allow_sql block to control execute-sql upermission in metadata.json, closes #813
Also removed the --config allow_sql:0 mechanism in favour of the new allow_sql block.
This commit is contained in:
parent
e0a4664fba
commit
49d6d2f7b0
16 changed files with 92 additions and 44 deletions
|
|
@ -12,8 +12,8 @@ you like. You can also construct queries using the filter interface on the
|
|||
tables page, then click "View and edit SQL" to open that query in the custom
|
||||
SQL editor.
|
||||
|
||||
Note that this interface is only available if the :ref:`config_allow_sql` option
|
||||
has not been disabled.
|
||||
Note that this interface is only available if the :ref:`permissions_execute_sql`
|
||||
permission is allowed.
|
||||
|
||||
Any Datasette SQL query is reflected in the URL of the page, allowing you to
|
||||
bookmark them, share them with others and navigate through previous queries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue