Skip to content

Commit

Permalink
web: Strict rules for "allow reads for others" preset
Browse files Browse the repository at this point in the history
closes #192

Signed-off-by: Mikhail Petrov <[email protected]>
  • Loading branch information
mike-petrov committed Apr 10, 2024
1 parent 6a0e803 commit fb7d6bb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,21 @@ export const App = () => {
name: 'allow reads for others',
preset: 'shared',
eACLParams: [{
"operation": "PUT",
"action": "DENY",
"filters": [],
"targets": [{ "keys": [], "role": "OTHERS" }],
}, {
"operation": "DELETE",
"action": "DENY",
"filters": [],
"targets": [{ "keys": [], "role": "OTHERS" }],
}, {
"operation": "SEARCH",
"action": "DENY",
"filters": [],
"targets": [{ "keys": [], "role": "OTHERS" }],
}, {
"operation": "GET",
"action": "ALLOW",
"filters": [],
Expand All @@ -137,6 +152,16 @@ export const App = () => {
"action": "ALLOW",
"filters": [],
"targets": [{ "keys": [], "role": "OTHERS" }],
}, {
"operation": "RANGE",
"action": "ALLOW",
"filters": [],
"targets": [{ "keys": [], "role": "OTHERS" }],
}, {
"operation": "RANGEHASH",
"action": "ALLOW",
"filters": [],
"targets": [{ "keys": [], "role": "OTHERS" }],
}],
}
});
Expand Down

0 comments on commit fb7d6bb

Please sign in to comment.