Documentation
¶
Overview ¶
Package policy provides Rego policy generation for FTL authorization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// For private mode: the owner's subject
OwnerSubject string
// For org mode: list of org member subjects
OrgMembers []string
// For org mode: the organization ID
OrgID string
// Actor type for deployment context
ActorType string // "user" or "machine"
}
Context provides information needed for policy generation
type Generator ¶
type Generator struct{}
Generator creates Rego policies for different authorization modes
Click to show internal directories.
Click to hide internal directories.