Skip to main content

Module policy

Module policy 

Source
Expand description

Governance policy types and RBAC evaluation.

Shared between edda-cli (draft approval workflow) and edda-serve (authz API).

Structs§

ActorDef
ActorsConfig
AuthzRequest
AuthzResult
PermissionGrant
PermissionsConfig
PolicyRule
PolicyStageDef
PolicyV2Config
PolicyWhen

Enums§

ActorKind
Actor kind: distinguishes human users from automated agents.

Functions§

evaluate_authz
Evaluate whether an actor is allowed to perform an action.
load_actors_from_dir
Load actors.yaml from a directory containing .edda/.
load_policy_from_dir
Load policy.yaml from a directory containing .edda/.
save_actors_to_dir
Save actors.yaml to the .edda/ directory.