[#1407] tree: Set ContainerOwner in parameter for CheckAPE

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-10-02 10:09:10 +03:00 committed by Evgenii Stratonikov
parent 54eb005822
commit 9c5ddc4dfe

View file

@ -78,6 +78,7 @@ func (s *Service) checkAPE(ctx context.Context, bt *bearer.Token,
Request: request, Request: request,
Namespace: namespace, Namespace: namespace,
Container: cid, Container: cid,
ContainerOwner: container.Value.Owner(),
PublicKey: publicKey, PublicKey: publicKey,
BearerToken: bt, BearerToken: bt,
SoftAPECheck: false, SoftAPECheck: false,