forked from TrueCloudLab/frostfs-node
[#986] object: Introduce soft ape checks
* Soft APE check means that APE should allow request even it gets status NoRuleFound for a request. Otherwise, it is interpreted as Deny. * Soft APE check is performed if basic ACL mask is not set. Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
bc9dbb26ec
commit
7cc368e188
6 changed files with 176 additions and 108 deletions
|
@ -13,4 +13,6 @@ type RequestContext struct {
|
|||
SenderKey []byte
|
||||
|
||||
Role acl.Role
|
||||
|
||||
SoftAPECheck bool
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue