From 95bdc70d1d166491220aeb20f1183af737c72df4 Mon Sep 17 00:00:00 2001 From: Lenin Alevski Date: Wed, 23 Nov 2022 09:10:14 -0800 Subject: [PATCH] Display warning for public access policy in bucket settings (#2473) Signed-off-by: Lenin Alevski --- .../Buckets/BucketDetails/SetAccessPolicy.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/SetAccessPolicy.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/SetAccessPolicy.tsx index 5b51badb9..4f8c02b36 100644 --- a/portal-ui/src/screens/Console/Buckets/BucketDetails/SetAccessPolicy.tsx +++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/SetAccessPolicy.tsx @@ -143,6 +143,19 @@ const SetAccessPolicy = ({ ]} /> + {accessPolicy === "PUBLIC" && ( +
+ * Warning: With Public access anyone will be able to upload, + download and delete files from this Bucket * +
+ )} {accessPolicy === "CUSTOM" && (