Skip to main content

Permission Actions Reference

Core Actions

These are the fundamental CRUD operations that can be applied to any resource in Mission Control.

ActionDescription
*Grants full access to all operations on the specified resource. Use with caution as this provides unrestricted access.
create,read,update,deleteExplicit specification of all CRUD operations. Functionally equivalent to * but more explicit.
createAllows creating new instances of a resource
readAllows viewing and listing resources
updateAllows modifying existing resources
deleteAllows removing resources

Playbook-Specific Actions

These actions are specific to playbook resources and provide fine-grained control over playbook execution and approval workflows.

ActionDescription
playbook:runAllows execution of playbooks
playbook:approveAllows approving playbook execution requests

Usage Examples

Basic Configuration Access

apiVersion: mission-control.flanksource.com/v1
kind: Permission
metadata:
name: dev-team-config-access
spec:
subject:
team: developers
object:
configs:
- namespaces: ["dev", "staging"]
actions:
- "playbook:run"
- "playbook:approve"
- "create,read,update,delete"

Approval Workflow

apiVersion: mission-control.flanksource.com/v1
kind: Permission
metadata:
name: lead-approval-permission
spec:
subject:
team: team-leads
object:
playbooks:
- tags:
environment: production
actions:
- "read"
- "playbook:approve"