Rename set-column-types action to et-column-type

Refs https://github.com/simonw/datasette/pull/2674#issuecomment-4085015792
This commit is contained in:
Simon Willison 2026-03-18 12:18:48 -07:00
commit 2b06da29a1
7 changed files with 18 additions and 20 deletions

View file

@ -831,19 +831,19 @@ PermConfigTestCase = collections.namedtuple(
resource=("perms_ds_one", "t1"),
expected_result=True,
),
# set-column-types on specific table
# set-column-type on specific table
PermConfigTestCase(
config={
"databases": {
"perms_ds_one": {
"tables": {
"t1": {"permissions": {"set-column-types": {"id": "user"}}}
"t1": {"permissions": {"set-column-type": {"id": "user"}}}
}
}
}
},
actor={"id": "user"},
action="set-column-types",
action="set-column-type",
resource=("perms_ds_one", "t1"),
expected_result=True,
),