Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/claim/rbac/rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ type contextKey string

const scopeKey contextKey = "admin"

// Scope represents an authenticated user in the context
// Scope represents an authenticated user or API key in the context.
// It is used for both the management API (JWT authentication) and the client API (API key authentication).
type Scope struct {
OrganizationID uuid.UUID
ProjectID uuid.UUID
Expand Down