Skip to main content

Permissions​

Mission Control provides a flexible and strong security model that combines two powerful methods: Role-Based Access Control (RBAC) and Attribute-Based Access Control (ABAC).

This combined permission system helps you set up detailed access rules. For instance, while RBAC can control if a user can run any playbooks in the system, detailed ABAC rules let you define exactly which playbooks specific users or teams can access.

Key Concepts​

ConceptDescription
PermissionA rule that grants or denies specific actions to a subject on target objects
SubjectWHO or WHAT gets the permission (person, team, group, or system service)
ActionsWHAT operations are allowed (read, write, delete, playbook:run, etc.)
GroupsGroups of subjects for easier permission management

Access Control Models​

ModelDescription
RolesRole-Based Access Control using built-in roles (admin, editor, viewer, guest)
ABACAttribute-Based Access Control based on resource attributes (tags, namespace, name)
Multi-TenancyAgent and tag-based permissions for SaaS environments

Quick Example​

permission.yaml
apiVersion: mission-control.flanksource.com/v1
kind: Permission
metadata:
name: sre-playbook-access
spec:
description: Allow SRE team to run playbooks on production configs
subject:
team: sre-team
actions:
- playbook:run
object:
playbooks:
- name: "*"
configs:
- labels:
environment: production
info

Deny rules always override Allow rules.

Getting Started​

  1. Quickstart - Learn about default permissions and how to enable strict mode
  2. Permission - Understand the Permission CRD schema
  3. Subjects - Learn about different subject types
  4. Actions - Understand available permission actions

See Also​

  • Quickstart - Get started with permissions, including Helm configuration
  • Permission - Permission CRD schema and examples
  • Subjects - Define who gets the permission
  • Actions - Define what operations are allowed
  • Permission Groups - Group subjects for simpler permission management
  • Roles - Role-Based Access Control
  • ABAC - Attribute-Based Access Control
  • Multi-Tenancy - Agent and tag-based permissions for SaaS environments