Skip to content

Security & RBAC

Chukfi CMS is built with production-grade security from day one. It supports passwordless authentication and granular role-based access control (RBAC).

Note: This video demonstrates a planned npm distribution. v0.2.0 ships as a Rust binary — see the Quick Start for current setup.

No passwords to leak, hash, or manage. Users enter their email address, and Chukfi sends a secure, short-lived cryptographic magic link to their inbox. During local development (CHUKFI_DEV_MODE=true), users are auto-created on first login.

Chukfi uses a colon-delimited permission model (resource:action) to enforce granular access. Built-in roles include:

  • Administrator — Full access to schemas, content, media, and settings.
  • Publisher — Can create, edit, and publish content. Cannot modify schemas.
  • Editor — Can create and edit drafts. Cannot publish or delete content.

For enterprise teams, Chukfi integrates natively with Microsoft Entra ID (formerly Azure AD) via OpenID Connect (OIDC). Map Entra ID groups directly to Chukfi roles to automate user provisioning. Configure via the auth.providers section in chukfi.config.json.