mikespook/gorbac
goRBAC provides a lightweight role-based access control (RBAC) implementation in Golang. observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 93
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4633
- days_rel: n/a
- days_push: 44
- n_releases_24m: 0
Adoption not part of the score
1674 stars · 180 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
goRBAC is a lightweight role-based access control (RBAC) library for Go, supporting many-to-many role/permission mappings and hierarchical role inheritance. It uses Go generics (1.18+) and offers a two-phase prepare/check workflow with optional assertion functions for fine-grained control.
Use cases
- implement role-based access control in a Go application
- manage user roles and permissions with inheritance
- check if a role is granted a permission in Go
- build hierarchical permission systems with parent roles
- add custom assertion logic to permission checks
- add authorization to a Go web API
When to choose
- you need a small, dependency-free RBAC model in Go
- you want role inheritance and custom permission types
- you prefer a library over a full identity/authorization service
When to avoid
- you need full-featured identity management with users, sessions, and tokens
- you need attribute-based (ABAC) or policy-engine-driven authorization
- you are not working in Go
Facets
library · maturity active
authorization security security developer-tools backend go cross-platform rbac access-control role-based permissions go-generics
1 source
- readme: https://github.com/mikespook/gorbac · fetched 2026-08-28 · de7982ffa1da
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mikespook/gorbac | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="mikespook/gorbac")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem