Logo
Explore Help
Sign In
go/rbac
1
0
Fork 0
You've already forked rbac
Code Issues Pull Requests Packages Releases 1 Activity
Files
main
rbac/go.mod

4 lines
44 B
Modula-2
Raw Permalink Normal View History

feat(rbac): initial stable release v0.9.0 Foundational identity and permission types for role-based access control — bit-set PermissionMask, immutable Identity value type, and PermissionProvider interface. What's included: - `Identity` value type with NewIdentity / WithTenant constructors and SetInContext / FromContext context helpers - `Permission` (int64 bit position) and `PermissionMask` (int64 bit-set) with O(1) Has and non-mutating Grant - `PermissionProvider` interface for DB-backed ResolveMask(ctx, uid, resource) resolution Tested-via: todo-api POC integration Reviewed-against: docs/adr/
2026-03-18 13:25:43 -06:00
module code.nochebuena.dev/go/rbac
go 1.25
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 20ms Template: 1ms
English
English
Licenses API