mirror of
https://github.com/simonw/datasette.git
synced 2026-06-15 05:26:59 +02:00
Rename set-column-types action to et-column-type
Refs https://github.com/simonw/datasette/pull/2674#issuecomment-4085015792
This commit is contained in:
parent
d440c20984
commit
2b06da29a1
7 changed files with 18 additions and 20 deletions
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue