Versions in this module Expand all Collapse all v1 v1.0.47 Jan 26, 2024 Changes in this version + func GetFieldDataType(s string) (string, string) + func MatchPathBasedACL(pattern, uri string) bool + type AccessList struct + func NewAccessList() *AccessList + func (acl *AccessList) AddRule(ctx context.Context, cfg *RuleConfiguration) error + func (acl *AccessList) AddRules(ctx context.Context, cfgs []*RuleConfiguration) error + func (acl *AccessList) Allow(ctx context.Context, data map[string]interface{}) bool + func (acl *AccessList) AsMap() map[string]interface{} + func (acl *AccessList) GetRules() []*RuleConfiguration + func (acl *AccessList) SetDefaultAllowAction() + func (acl *AccessList) SetLogger(logger *zap.Logger) + type RuleConfiguration struct + Action string + Comment string + Conditions []string