roles

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NamespaceRoleIDs = uuid.MustParse("ef5d0f45-83c6-5dbe-b15a-e017bc88ab5a")

NamespaceRoleIDs is the UUID namespace used to derive stable role IDs from slugs.

Role IDs are computed as UUIDv5(namespace, "role:"+slug). Slugs are treated as immutable identity.

This is part of the auth mechanism (stable identity), not app-specific role taxonomy.

Functions

func IDFromSlug

func IDFromSlug(slug string) uuid.UUID

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL