tree: Set ContainerOwner in parameter for CheckAPE #1407

Merged
fyrchik merged 1 commit from aarifullin/frostfs-node:fix/check_ape_cnr_owner into master 2024-10-02 07:21:03 +00:00

View file

@ -75,12 +75,13 @@ func (s *Service) checkAPE(ctx context.Context, bt *bearer.Token,
} }
return s.apeChecker.CheckAPE(checkercore.CheckPrm{ return s.apeChecker.CheckAPE(checkercore.CheckPrm{
Request: request, Request: request,
Namespace: namespace, Namespace: namespace,
Container: cid, Container: cid,
PublicKey: publicKey, ContainerOwner: container.Value.Owner(),
BearerToken: bt, PublicKey: publicKey,
SoftAPECheck: false, BearerToken: bt,
SoftAPECheck: false,
}) })
} }