Compare commits

..

2 commits

Author SHA1 Message Date
dce34ddb9b [#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:11:56 +03:00
7c2f247442 [#553] authmate: Don't use basic acl
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-11-19 15:11:53 +03:00

View file

@ -44,10 +44,7 @@ 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 is Access Policy Engine chain that contains rules which provide access to specific actions in container.
Chain chain.Chain Chain chain.Chain
} }