mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Improved permissions documentation
This commit is contained in:
parent
7dc23cd71a
commit
bd4de0647d
2 changed files with 9 additions and 0 deletions
|
|
@ -47,6 +47,13 @@ The URL on the first line includes a one-use token which can be used to sign in
|
|||
"id": "root"
|
||||
}
|
||||
|
||||
.. _authentication_permissions:
|
||||
|
||||
Permissions
|
||||
===========
|
||||
|
||||
Datasette plugins can check if an actor has permission to perform an action using the :ref:`datasette.permission_allowed(...)<datasette_permission_allowed>` method. This method is also used by Datasette core code itself, which allows plugins to help make decisions on which actions are allowed by implementing the :ref:`permission_allowed(...) <plugin_permission_allowed>` plugin hook.
|
||||
|
||||
.. _authentication_permissions_canned_queries:
|
||||
|
||||
Permissions for canned queries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue