Consider ACL filter optimizations #48

Closed
opened 2023-03-08 23:38:10 +00:00 by snegurochka · 1 comment

Original issue: https://github.com/nspcc-dev/neofs-s3-gw/issues/576

Part one: simplify eacl -> ast decoding by using system filters

Use system filters to define grantees and permissions, like

SYSTEM: permission STRING_EQUAL FULL_CONTROL
SYSTEM: group STRING_EQUAL AllUsers

These values may be used during encoding and decoding of rules

Part two: reduce number of records in eacl

Some EACL records may not produce behaviour changes, but they required for decoding ast. We can try to remove such records and replace then by storing extra information in system filters of EACL records.

Original issue: https://github.com/nspcc-dev/neofs-s3-gw/issues/576 ## Part one: simplify `eacl` -> `ast` decoding by using `system` filters Use system filters to define grantees and permissions, like ``` SYSTEM: permission STRING_EQUAL FULL_CONTROL SYSTEM: group STRING_EQUAL AllUsers ``` These values may be used during encoding and decoding of rules ## Part two: reduce number of records in `eacl` Some EACL records may not produce behaviour changes, but they required for decoding `ast`. We can try to remove such records and replace then by storing extra information in system filters of EACL records.

We've replaced eacl with policies and #397 removes eacl code from repo. Not relevant anymore.

We've replaced eacl with policies and #397 removes eacl code from repo. Not relevant anymore.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
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#48
There is no content yet.