mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Applied blacken-docs, refs #1937
This commit is contained in:
parent
c094dde3ff
commit
9ad76d279e
1 changed files with 5 additions and 1 deletions
|
|
@ -460,7 +460,11 @@ The following example creates a token that can access ``view-instance`` and ``vi
|
||||||
actor_id="user1",
|
actor_id="user1",
|
||||||
restrict_all=("view-instance", "view-table"),
|
restrict_all=("view-instance", "view-table"),
|
||||||
restrict_database={"docs": ("view-query",)},
|
restrict_database={"docs": ("view-query",)},
|
||||||
restrict_resource={"docs": {"attachments": ("insert-row", "update-row")}},
|
restrict_resource={
|
||||||
|
"docs": {
|
||||||
|
"attachments": ("insert-row", "update-row")
|
||||||
|
}
|
||||||
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
.. _datasette_get_database:
|
.. _datasette_get_database:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue