Explicitly explain allow_sql: false

pull/1984/head
Simon Willison 2023-01-09 08:25:07 -08:00
rodzic 7b48664d75
commit 5e672df168
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -321,6 +321,14 @@ The easiest way to disable arbitrary SQL queries is using the :ref:`default_allo
You can alternatively use an ``"allow_sql"`` block to control who is allowed to execute arbitrary SQL queries.
To prevent any user from executing arbitrary SQL queries, use this:
.. code-block:: json
{
"allow_sql": false
}
To enable just the :ref:`root user<authentication_root>` to execute SQL for all databases in your instance, use the following:
.. code-block:: json