Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate System role in EACL #2531

Closed
roman-khimov opened this issue Aug 28, 2023 · 0 comments
Closed

Deprecate System role in EACL #2531

roman-khimov opened this issue Aug 28, 2023 · 0 comments
Assignees
Labels
config Configuration format update or breaking change enhancement Improving existing functionality neofs-cli NeoFS CLI application issues
Milestone

Comments

@roman-khimov
Copy link
Member

Is your feature request related to a problem? Please describe.

I'm always frustrated when I'm looking at NeoFS ACL and EACL. In particular, system roles are problematic, especially when dealing with their use in EACL. ACLs can't be created with improper settings for system roles, while EACLs can.

Describe the solution you'd like

  1. Ignore rules with System role in EACL.
  2. Extend IR check of EACL with a check for system role use. Do not allow them.
  3. Extend neofs-cli with a similar check. Do not allow these EACLs unless forced.

I'd like to remove them completely, but we need this minimum first and then we could check current networks and decide if we can remove them completely.

We're not touching basic ACLs for now since they're less problematic and a bit harder to change.

Describe alternatives you've considered

Not a lot of them.

Additional context

https://http.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/612-1693211417/index.html#suites/a6143bdccc5de4a5db4c836d1239fad4/981ab653ece9967a/

@roman-khimov roman-khimov added enhancement Improving existing functionality neofs-cli NeoFS CLI application issues config Configuration format update or breaking change labels Aug 28, 2023
@roman-khimov roman-khimov added this to the v0.38.0 milestone Aug 28, 2023
@carpawell carpawell self-assigned this Sep 4, 2023
vvarg229 added a commit to vvarg229/neofs-testcases that referenced this issue Sep 5, 2023
Removed the System role in EACL and removed the tests related to this role.
The System EACL role leads to a broken container and nothing else and will be
removed in the issue nspcc-dev/neofs-node#2531

Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
roman-khimov added a commit to nspcc-dev/neofs-sdk-go that referenced this issue Sep 7, 2023
vvarg229 added a commit to vvarg229/neofs-testcases that referenced this issue Sep 7, 2023
Removed the System role in EACL and removed the tests related to this role.
The System EACL role leads to a broken container and nothing else and will be
removed in the issue nspcc-dev/neofs-node#2531

Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Sep 7, 2023
Refs nspcc-dev#2531.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Sep 7, 2023
Refs nspcc-dev#2531.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Sep 7, 2023
Closes nspcc-dev#2531.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
carpawell added a commit to carpawell/neofs-node that referenced this issue Sep 7, 2023
Refs nspcc-dev#2531.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
vvarg229 added a commit to vvarg229/neofs-testcases that referenced this issue Sep 14, 2023
Removed changing the System role in EACL and changed the tests related
to this role.
The changing system eACL role leads to a broken container and
nothing else and will be removed in the issue
nspcc-dev/neofs-node#2531

Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
vvarg229 added a commit to vvarg229/neofs-testcases that referenced this issue Sep 14, 2023
Removed changing the System role in EACL and changed the tests related
to this role.
The changing system eACL role leads to a broken container and
nothing else and will be removed in the issue
nspcc-dev/neofs-node#2531

Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config Configuration format update or breaking change enhancement Improving existing functionality neofs-cli NeoFS CLI application issues
Projects
None yet
Development

No branches or pull requests

2 participants