CloudSignal Docs
DashboardAccess Control

ACL Presets

Start with pre-built access control templates

When you first set up access control, the dashboard offers five pre-built presets to get you started quickly.

Available Presets

Permit All

Allows all clients to publish and subscribe to all topics. Use this as a starting point and add restrictions later.

{
  "rules": [
    { "user": "*", "topic": "#", "permission": "both" }
  ]
}

Notifications

Designed for notification systems where a backend publishes and clients subscribe to their own channels.

{
  "rules": [
    { "user": "backend-*", "topic": "notifications/#", "permission": "publish" },
    { "user": "*", "topic": "notifications/{username}", "permission": "subscribe" }
  ]
}

Agent Pipelines

For AI agent workflows where agents publish to processing topics and subscribe to results.

{
  "rules": [
    { "user": "agent-*", "topic": "pipeline/input/#", "permission": "publish" },
    { "user": "agent-*", "topic": "pipeline/output/{username}", "permission": "subscribe" },
    { "user": "orchestrator", "topic": "pipeline/#", "permission": "both" }
  ]
}

Chat Channels

For chat applications where users can publish and subscribe to shared channels.

{
  "rules": [
    { "user": "*", "topic": "chat/{channel}/#", "permission": "both" },
    { "user": "*", "topic": "presence/{channel}", "permission": "both" },
    { "user": "*", "topic": "dm/{username}/#", "permission": "both" }
  ]
}

Blank

An empty policy document to write from scratch.

Applying a Preset

  1. Navigate to Dashboard → Access Control
  2. If no policy exists, the setup wizard appears automatically
  3. Click on a preset card
  4. The policy loads in the editor - customize it before deploying
  5. Click Deploy when ready

On this page