frostfs-node/pkg/services/object/put
Evgenii Stratonikov 6e2cc32768 [#681] objsvc: Validate session token owner for local sessions
Previously, the check was in place only when session token was missing.
Format validator checks are applied only to fully-prepared object, so
this lead to the following situation:
1. Object is put locally with malformed token, because there are no
   checks.
2. Object cannot be replicated, because the token is malformed.

This is now fixed and token check is done before any payload receival.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-01-26 08:52:29 +00:00
..
v2 [#294] putsvcv2: Refactor service constructor 2023-07-12 07:42:10 +00:00
common.go [#643] objsvc/put: Unify extraBroadcastEnabled usage 2023-08-24 11:03:17 +03:00
distributed.go [#643] objsvc/put: Unify extraBroadcastEnabled usage 2023-08-24 11:03:17 +03:00
local.go [#6] services/object: Simplify local/remote targets 2023-07-21 18:39:12 +03:00
pool.go
prm.go
remote.go [#6] services/object: Simplify local/remote targets 2023-07-21 18:39:12 +03:00
res.go
service.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
single.go [#772] node: Apply gofumpt 2023-10-31 17:03:03 +03:00
streamer.go [#681] objsvc: Validate session token owner for local sessions 2024-01-26 08:52:29 +00:00
validation.go [#509] go.mod: Update sdk-go 2023-07-11 17:38:00 +03:00