console
console copied to clipboard
"Add Lifecycle Rule" button is greyed out
Console version: v0.15.11 MinIO version: RELEASE.2022-04-12T06-55-35Z
MinIO setup: Distributed with 4 pods with 1 drive each.
Policy attached: s3:GetLifecycleConfiguration and s3:PutLifecycleConfiguration
In the MinIO console, I cannot create a lifecycle rule, since the button is greyed out. But, I can see the created rules and can even delete them.
Okay, looking at the code https://github.com/minio/console/blob/822724a4f11a5405bd12818531c5e0183f5726c4/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx#L286
It seems "admin:ListTier" is needed for it to work.
IMO, If a customer just wants to add expiry rules, tier permissions should not be needed for it.
That's our bug @mshanmu
Thanks @harshavardhana
Bump