An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.5% on proxy.golang.org

proxy.golang.org : github.com/panta/go-perms

Package perms provides a simple but flexible permission control library in Golang. It is possible to define sets of rules where each rule is a function mapping a tuple (subject, action, resource) to an "effect" string, where the effect could be for example "allow" or "deny". The types of subject, action and resource are not mandated. For efficiency reasons, to allow processing of very large rule sets, when adding a rule it's possible to provide value "templates" that any or all of subject, action and resource must adhere to for the rule to be evaluated. Examples will make this much clearer :-)

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/panta/go-perms
License: GPL-2.0
Latest release: about 1 month ago
Namespace: github.com/panta
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago