Skip to content

Commit

Permalink
Merge pull request #201 from nspcc-dev/feature/192-edit_preset_eacl
Browse files Browse the repository at this point in the history
More strict "allow reads for others" setting
  • Loading branch information
roman-khimov authored Apr 10, 2024
2 parents 6a0e803 + fb7d6bb commit 74fb1b0
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 74fb1b0

Please sign in to comment.