Versions in this module Expand all Collapse all v0 v0.1.2 Nov 19, 2024 v0.1.0 Nov 19, 2024 Changes in this version + type Action string + type Attribute struct + Name string + Value string + type Condition func(subject Subject, object Object) bool + type Object struct + Attributes []Attribute + type Policy struct + Action Action + Conditions []Condition + Effect bool + Objects [][]Attribute + Subjects [][]Attribute + type PolicyEnforcer struct + Policies []Policy + func (pe *PolicyEnforcer) Evaluate(subject Subject, object Object, action Action) bool + type Subject struct + Attributes []Attribute