Remove ADMIN_LIST_TIERS scope in BucketLifecyclePanel (#2384)

This commit is contained in:
Quentin Dreyer
2022-11-03 18:35:21 +01:00
committed by GitHub
parent fbf3afd6fb
commit fc7d60e7ec

View File

@@ -275,10 +275,7 @@ const BucketLifecyclePanel = ({ classes }: IBucketLifecyclePanelProps) => {
<Grid item xs={12} className={classes.actionsTray}>
<PanelTitle>Lifecycle Rules</PanelTitle>
<SecureComponent
scopes={[
IAM_SCOPES.S3_PUT_LIFECYCLE_CONFIGURATION,
IAM_SCOPES.ADMIN_LIST_TIERS,
]}
scopes={[IAM_SCOPES.S3_PUT_LIFECYCLE_CONFIGURATION]}
resource={bucketName}
matchAll
errorProps={{ disabled: true }}