EACL: support role KEYS to be able to set keys #22

Closed
opened 2025-12-28 17:59:54 +00:00 by sami · 3 comments
Owner

Originally created by @KirillovDenis on GitHub (Aug 25, 2022).

Originally assigned to: @KirillovDenis on GitHub.

Currently, only the following roles in eacl targets are valid: SYSTEM, USER, OTHERS. Non of this allows to set keys. We should add a new valid value: UNKNOWN (to match sdk) or KEYS (To be more friendly for rest clients. The gate transform this to UNKNOWN internally)

Originally created by @KirillovDenis on GitHub (Aug 25, 2022). Originally assigned to: @KirillovDenis on GitHub. Currently, only the following roles in eacl targets are valid: `SYSTEM`, `USER`, `OTHERS`. Non of this allows to set keys. We should add a new valid value: `UNKNOWN` (to match sdk) or `KEYS` (To be more friendly for rest clients. The gate transform this to `UNKNOWN` internally)
sami 2025-12-28 17:59:54 +00:00
  • closed this issue
  • added the
    bug
    U3
    labels
Author
Owner

@alexvanin commented on GitHub (Aug 25, 2022):

Let's do KEYS and hide unknown target because it is more of a workaround for setting keys.

@alexvanin commented on GitHub (Aug 25, 2022): Let's do `KEYS` and hide unknown target because it is more of a workaround for setting keys.
Author
Owner

@alexvanin commented on GitHub (Aug 25, 2022):

More like an enhancement for me, not a bug.

@alexvanin commented on GitHub (Aug 25, 2022): More like an enhancement for me, not a bug.
Author
Owner

@KirillovDenis commented on GitHub (Aug 25, 2022):

I marked this as a bug because we cannot properly set keys. In result EACL table they will be set with one of mutually exclusive role (SYSTEM, USER, OTHERS)

@KirillovDenis commented on GitHub (Aug 25, 2022): I marked this as a bug because we cannot properly set keys. In result EACL table they will be set with one of mutually exclusive role (`SYSTEM`, `USER`, `OTHERS`)
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
nspcc-dev/neofs-rest-gw#22
No description provided.