Skip to content

Commit 6accab4

Browse files
committed
update grants test
1 parent a22016e commit 6accab4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

acceptance/bundle/resources/grants/schemas/change_privilege/databricks.yml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ resources:
99
grants:
1010
- principal: deco-test-user@databricks.com
1111
privileges:
12-
- CREATE_TABLE
1312
- USE_SCHEMA
13+
- CREATE_TABLE

acceptance/bundle/resources/grants/schemas/change_privilege/out.deploy1.requests.direct.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"changes": [
66
{
77
"add": [
8-
"CREATE_TABLE",
9-
"USE_SCHEMA"
8+
"USE_SCHEMA",
9+
"CREATE_TABLE"
1010
],
1111
"principal": "deco-test-user@databricks.com",
1212
"remove": [

acceptance/bundle/resources/grants/schemas/change_privilege/out.plan1.direct.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
{
2626
"principal": "deco-test-user@databricks.com",
2727
"privileges": [
28-
"CREATE_TABLE",
29-
"USE_SCHEMA"
28+
"USE_SCHEMA",
29+
"CREATE_TABLE"
3030
]
3131
}
3232
]

acceptance/bundle/resources/grants/schemas/change_privilege/out.plan2.direct.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
},
5252
"changes": {
5353
"local": {
54-
"grants[0].privileges[0]": {
54+
"grants[principal='deco-test-user@databricks.com'].privileges[='APPLY_TAG']": {
5555
"action": "update"
5656
},
57-
"grants[0].privileges[1]": {
57+
"grants[principal='deco-test-user@databricks.com'].privileges[='USE_SCHEMA']": {
5858
"action": "update"
5959
}
6060
}

0 commit comments

Comments
 (0)