/db/table/pk/-/update endpoint, closes #1863

This commit is contained in:
Simon Willison 2022-11-29 10:06:19 -08:00
commit 484bef0d3b
6 changed files with 269 additions and 43 deletions

View file

@ -16,6 +16,7 @@ def permission_allowed_default(datasette, actor, action, resource):
"create-table",
"drop-table",
"delete-row",
"update-row",
):
if actor and actor.get("id") == "root":
return True