Skip to content

Commit 016fe51

Browse files
committed
update inline-read-write.json
1 parent 1bcf655 commit 016fe51

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

t/inline-read-write.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@
3838
]
3939
}
4040
},
41+
{
42+
"action": "record:read",
43+
"key": "./*",
44+
"emit": "deny",
45+
"condition": {
46+
"op": "Load",
47+
"const": "params.isReadPublic"
48+
}
49+
},
4150
{
4251
"action": "record:create",
4352
"key": "./*",
@@ -72,6 +81,15 @@
7281
}
7382
]
7483
}
84+
},
85+
{
86+
"action": "record:create",
87+
"key": "./*",
88+
"emit": "ok",
89+
"condition": {
90+
"op": "Load",
91+
"const": "params.isWritePublic"
92+
}
7593
}
7694
],
7795
"paramSchema": {

0 commit comments

Comments
 (0)