package
0.0.32
Repository: https://github.com/make-os/kit.git
Documentation: pkg.go.dev

# Functions

AddDefaultPolicies adds default repo-level policies.
CheckPolicy performs ACL checks to determine whether the given push key is permitted to perform the given action on the reference subject.
getPolicyEnforcer returns a policy enforcer function used for enforcing policies against a subject.
MakePusherPolicyGroups creates a policy group contain the different category of policies a pusher can have.
NewPolicyEnforcer creates an instance of PolicyEnforcerFunc; orderedPolicies are a slice of policies representing different groups and the group with the lower index have higher precedence.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

PolicyEnforcerFunc provides functionality for enforcing access level policies specifically for repositories.

# Type aliases

EnforcerFunc describes a function used for checking policies.
policyChecker describes a function for enforcing repository policy enforce is the enforcer function.