cli/util: Fix basic ACL rendering #132

Merged
fyrchik merged 1 commit from acid-ant/frostfs-node:bugfix/fix-basic-acl-rendering into master 2023-03-10 14:45:45 +00:00
Member

In previous implementation pretty-printer of basic ACL in NeoFS CLI had
mistakes:

  • F-bit was set to Extendable() property instead of its inversion
  • B-bits were set to acl.RoleInnerRing rights

Make PrettyPrintTableBACL to correctly render mentioned bits.

Signed-off-by: Leonard Lyubich ctulhurider@gmail.com

Cherry-pick changes from https://github.com/nspcc-dev/neofs-node/pull/2259/files

In previous implementation pretty-printer of basic ACL in NeoFS CLI had mistakes: * F-bit was set to `Extendable()` property instead of its inversion * B-bits were set to `acl.RoleInnerRing` rights Make `PrettyPrintTableBACL` to correctly render mentioned bits. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com> Cherry-pick changes from https://github.com/nspcc-dev/neofs-node/pull/2259/files
acid-ant requested review from fyrchik 2023-03-10 11:47:29 +00:00
acid-ant requested review from carpawell 2023-03-10 11:47:30 +00:00
acid-ant requested review from dstepanov-yadro 2023-03-10 11:47:30 +00:00
acid-ant requested review from ale64bit 2023-03-10 11:47:30 +00:00
Owner

Could you remove "Close" from the description?
And also replace #2259 with #132 in the commit message.

Could you remove "Close" from the description? And also replace #2259 with #132 in the commit message.
acid-ant force-pushed bugfix/fix-basic-acl-rendering from e7cfbc02fc to 24a540caa8 2023-03-10 11:56:05 +00:00 Compare
Author
Member

Could you remove "Close" from the description?
And also replace #2259 with #132 in the commit message.

Done

> Could you remove "Close" from the description? > And also replace #2259 with #132 in the commit message. Done
fyrchik approved these changes 2023-03-10 14:40:39 +00:00
carpawell approved these changes 2023-03-10 14:41:01 +00:00
carpawell left a comment
Contributor

Ok but commit message changes do not seem right to me.

Ok but commit message changes do not seem right to me.
fyrchik merged commit 24a540caa8 into master 2023-03-10 14:45:45 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 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-node#132
No description provided.