Compare commits

..

2 commits

Author SHA1 Message Date
b1775f9478 [#553] authmate: Add retryer to create access box
After using AddChain to provide access to container we have to wait:
* tx with APE chain be accepted by blockchain
* cache in storage node be updated

it takes a while. So we add retry
 (the same as when we add bucket settings during bucket creation)

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-19 15:46:00 +03:00
4fa45bdac2 [#553] authmate: Don't use basic acl
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-19 15:45:54 +03:00

View file

@ -44,8 +44,11 @@ type PrmContainerCreate struct {
// PrmAddContainerPolicyChain groups parameter of FrostFS.AddContainerPolicyChain operation. // PrmAddContainerPolicyChain groups parameter of FrostFS.AddContainerPolicyChain operation.
type PrmAddContainerPolicyChain struct { type PrmAddContainerPolicyChain struct {
// ContainerID is a container identifier.
ContainerID cid.ID ContainerID cid.ID
Chain chain.Chain
// Chain is Access Policy Engine chain that contains rules which provide access to specific actions in container.
Chain chain.Chain
} }
// PrmContainer groups parameters of FrostFS.Container operation. // PrmContainer groups parameters of FrostFS.Container operation.