Display warning for public access policy in bucket settings (#2473)
Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This commit is contained in:
@@ -143,6 +143,19 @@ const SetAccessPolicy = ({
|
||||
]}
|
||||
/>
|
||||
</Grid>
|
||||
{accessPolicy === "PUBLIC" && (
|
||||
<div
|
||||
style={{
|
||||
marginTop: "25px",
|
||||
fontSize: "14px",
|
||||
fontStyle: "italic",
|
||||
color: "#5E5E5E",
|
||||
}}
|
||||
>
|
||||
* Warning: With Public access anyone will be able to upload,
|
||||
download and delete files from this Bucket *
|
||||
</div>
|
||||
)}
|
||||
{accessPolicy === "CUSTOM" && (
|
||||
<Grid item xs={12} className={classes.codeMirrorContainer}>
|
||||
<CodeMirrorWrapper
|
||||
|
||||
Reference in New Issue
Block a user