Documentation
¶
Overview ¶
Package permissions owns a per-audience map of permission strings. When the authapi package mints an access token, it consults this store to inject the matching audience's permissions as a "permissions" claim on the JWT.
Tests use PUT /admin0/permissions/{audience} (and friends) to shape RBAC at runtime without restarting the service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store holds permissions keyed by audience. Safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.