vault: Index | Files

package policies

import ""


Package Files


func EquivalentPolicies Uses

func EquivalentPolicies(a, b []string) bool

ComparePolicies checks whether the given policy sets are equivalent, as in, they contain the same values. The benefit of this method is that it leaves the "default" policy out of its comparisons as it may be added later by core after a set of policies has been saved by a backend.

Package policies imports 1 packages (graph) and is imported by 5 packages. Updated 2016-07-15. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).