From fb7d6bb4bad4e5a89724a1c3283f7f94f86d74f5 Mon Sep 17 00:00:00 2001 From: Mikhail Petrov Date: Wed, 10 Apr 2024 22:16:59 +0300 Subject: [PATCH] web: Strict rules for "allow reads for others" preset closes #192 Signed-off-by: Mikhail Petrov --- src/App.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/App.js b/src/App.js index 533863e..4d70648 100644 --- a/src/App.js +++ b/src/App.js @@ -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": [], @@ -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" }], }], } });