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
|
|
@ -116,6 +116,8 @@ This method lets you read plugin configuration values that were set in ``metadat
|
|||
|
||||
Renders a `Jinja template <https://jinja.palletsprojects.com/en/2.11.x/>`__ using Datasette's preconfigured instance of Jinja and returns the resulting string. The template will have access to Datasette's default template functions and any functions that have been made available by other plugins.
|
||||
|
||||
.. _datasette_permission_allowed:
|
||||
|
||||
await .permission_allowed(actor, action, resource_type=None, resource_identifier=None, default=False)
|
||||
-----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue