diff --git a/docs/authentication.rst b/docs/authentication.rst index d429e9c3..f6c5d801 100644 --- a/docs/authentication.rst +++ b/docs/authentication.rst @@ -215,13 +215,13 @@ Here's how to restrict access to your entire Datasette instance to just the ``"i } } -To deny access to all users, you can use ``"allow": {}``: +To deny access to all users, you can use ``"allow": false``: .. code-block:: json { "title": "My entirely inaccessible instance", - "allow": {} + "allow": false } One reason to do this is if you are using a Datasette plugin - such as `datasette-permissions-sql `__ - to control permissions instead.