console icon indicating copy to clipboard operation
console copied to clipboard

"Add Lifecycle Rule" button is greyed out

Open mshanmu opened this issue 3 years ago • 4 comments

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.

mshanmu avatar Apr 14 '22 18:04 mshanmu

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.

mshanmu avatar Apr 14 '22 18:04 mshanmu

IMO, If a customer just wants to add expiry rules, tier permissions should not be needed for it.

mshanmu avatar Apr 14 '22 18:04 mshanmu

That's our bug @mshanmu

harshavardhana avatar Apr 14 '22 18:04 harshavardhana

Thanks @harshavardhana

mshanmu avatar Apr 14 '22 18:04 mshanmu

Bump

qkdreyer avatar Oct 14 '22 06:10 qkdreyer