object: Correctly set namespace before APE check #1397

Merged
dstepanov-yadro merged 1 commit from aarifullin/frostfs-node:fix/check_ape_ns into master 2024-09-27 11:43:30 +00:00

View file

@ -108,7 +108,7 @@ func (c *checkerImpl) CheckAPE(ctx context.Context, prm Prm) error {
return c.checkerCore.CheckAPE(checkercore.CheckPrm{
Request: r,
PublicKey: pub,
Namespace: prm.Method,
Namespace: prm.Namespace,
Container: prm.Container,
ContainerOwner: prm.ContainerOwner,
BearerToken: prm.BearerToken,