home / docs / sections

sections: authentication:authentication-permissions-instance

This data as json

id page ref title content breadcrumbs references
authentication:authentication-permissions-instance authentication authentication-permissions-instance Controlling access to an instance Here's how to restrict access to your entire Datasette instance to just the "id": "root" user: { "title": "My private Datasette instance", "allow": { "id": "root" } } To deny access to all users, you can use "allow": false : { "title": "My entirely inaccessible instance", "allow": false } One reason to do this is if you are using a Datasette plugin - such as datasette-permissions-sql - to control permissions instead. ["Authentication and permissions", "Configuring permissions in metadata.json"] [{"href": "https://github.com/simonw/datasette-permissions-sql", "label": "datasette-permissions-sql"}]
Powered by Datasette · Queries took 0.817ms