Don't use basic acl in authmate #553

Closed
opened 2024-11-15 12:20:36 +00:00 by dkirillov · 0 comments
Member

After TrueCloudLab/frostfs-node#1480 storage node doesn't support basic and eacl anymore.

But gate use still it

basicACL := acl.Private
// allow reading objects to OTHERS in order to provide read access to S3 gateways
basicACL.AllowOp(acl.OpObjectGet, acl.RoleOthers)
basicACL.AllowOp(acl.OpObjectHead, acl.RoleOthers)
basicACL.AllowOp(acl.OpObjectSearch, acl.RoleOthers)

These leads to creating accessbox without any access right for fresh storage node versions. We should fix this.

Describe the solution you'd like

Use APE instead of [e]acl in authmate

Describe alternatives you've considered

No

Additional context

No

## Is your feature request related to a problem? Please describe. After https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/1480 storage node doesn't support basic and eacl anymore. But gate use still it https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/src/commit/eff0de43d5ab9984576ae696b906993863aa3b6e/internal/frostfs/authmate.go#L58-L62 These leads to creating accessbox without any access right for fresh storage node versions. We should fix this. ## Describe the solution you'd like Use APE instead of [e]acl in authmate ## Describe alternatives you've considered No ## Additional context No
dkirillov changed title from Don't use basaic acl in authmate to Don't use basic acl in authmate 2024-11-15 12:20:43 +00:00
dkirillov self-assigned this 2024-11-18 07:07:56 +00:00
alexvanin added this to the v0.31.0 milestone 2024-11-18 12:21:34 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#553
No description provided.