Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker implements v2.ACLChecker interfaces and provides ACL/eACL validation functionality.
func NewChecker ¶
func NewChecker( state netmap.State, eaclSrc container.EACLSource, validator *eaclSDK.Validator, localStorage *engine.StorageEngine, ) *Checker
NewChecker creates Checker. Panics if at least one of the parameter is nil.
func (*Checker) CheckBasicACL ¶
func (c *Checker) CheckBasicACL(info v2.RequestInfo) bool
CheckBasicACL is a main check function for basic ACL.
func (*Checker) CheckEACL ¶
func (c *Checker) CheckEACL(msg any, reqInfo v2.RequestInfo) error
CheckEACL is a main check function for extended ACL.
func (*Checker) StickyBitCheck ¶
StickyBitCheck validates owner field in the request if sticky bit is enabled.
Click to show internal directories.
Click to hide internal directories.