rbac system first stage

This commit is contained in:
2026-02-03 21:37:06 +11:00
parent 24bbc5337b
commit d2b1a252ea
38 changed files with 1966 additions and 114 deletions

View File

@@ -0,0 +1,13 @@
// Package roles provides constants for the RBAC
package roles
type Role string
func (r Role) String() string {
return string(r)
}
const (
Admin Role = "admin"
User Role = "user"
)