frostfs-node/pkg/innerring/processors/container
Leonard Lyubich 20b3ff84b3 [#1110] ir/container: Fix check of SetEACL operation
In previous implementation IR incorrectly verified `SetEACL` event of
`Container` contract. The incorrect behavior could be reproduced in two
ways:
  1. Create container using session, and perform `SetEACL` operation
  with a key that is different from the session one.
  2. Create container using session, and perform `SetEACL` w/o a
  session, but sign it using session key from the `Put` operation.

The problem was in the `checkSetEACL` validation method of IR container
processor. It always used session token used for container creation
during session ownership check.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-01-27 16:37:24 +03:00
..
common.go [#1100] *: Adopt new SDK's owner.ID API 2022-01-21 17:58:30 +03:00
handlers.go [#907] container/put: Work with named containers 2021-10-18 11:54:34 +03:00
process_container.go [#1002] ir: Add subnet check to the container Put process 2021-12-01 16:26:15 +03:00
process_eacl.go [#1110] ir/container: Fix check of SetEACL operation 2022-01-27 16:37:24 +03:00
processor.go [#1002] ir: Add subnet check to the container Put process 2021-12-01 16:26:15 +03:00