frostfs-node/pkg/innerring
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
..
config [#1008] ir/container: Customize fee for named container registration 2021-12-08 13:57:01 +03:00
internal/client [#1087] *: Adopt SDK changes 2022-01-14 17:29:03 +03:00
processors [#1110] ir/container: Fix check of SetEACL operation 2022-01-27 16:37:24 +03:00
timers [#479] morph/timer: Move block timer to morph package 2021-04-19 09:35:54 +03:00
alphabet.go [#666] innerring: Make GlagoliticLetter enum public for re-use 2021-07-08 14:37:38 +03:00
bindings.go [#807] ir: Merge ContractProcessor and NotaryContractProcessor interfaces 2021-09-09 18:37:45 +03:00
blocktimer.go [#971] *: Add optional parameters to container morph client calls 2021-11-19 09:58:03 +03:00
contracts.go [#987] ir: Add parsing subnet script hash from NNS contract 2021-11-28 14:38:44 +03:00
fetcher.go [#705] pkg/innerring: Add IR keys fetchers 2021-07-22 15:12:06 +03:00
indexer.go [#705] pkg/innerring: Fix disable notary mode 2021-07-22 15:12:06 +03:00
innerring.go [#1025] ir: Read IR list from role management contract w/o mainchain 2022-01-12 18:30:36 +03:00
locode.go [#316] locode/boltdb: Replace all references to the City with Location 2021-02-10 14:05:03 +03:00
notary.go [#910] innerring: Make notary deposit on notification instead of timer 2021-11-02 11:28:02 +03:00
rpc.go [#1087] *: Adopt SDK changes 2022-01-14 17:29:03 +03:00
settlement.go [#1100] *: Adopt new SDK's owner.ID API 2022-01-21 17:58:30 +03:00
state.go [#1054] innerring: add epoch metric 2021-12-28 15:34:20 +03:00
subnet.go [#1100] *: Adopt new SDK's owner.ID API 2022-01-21 17:58:30 +03:00