User Permissions

SmallBlock includes a simple role-based permission model.

Roles

  • Administrator — full access to content, settings, and users.

  • Editor — can create, edit, and publish content.

  • Author — can create and edit draft content.

  • Viewer — read-only access to published material.

Example Policy

roles:
  editor:
    can_publish: true
    can_delete: false
  author:
    can_publish: false
    can_delete: false