Doorman
DocsRule BuilderGet StartedGitHub

© 2026 griffen.codes

DiscordIssuesGitHub
    Tool

    Rule builder

    Fill in a condition and an action. Get a real doorman add command and the equivalent JSON, both accurate to what the CLI actually accepts.

    Run this
    doorman add --name "Block Admin Access" --field path --op pre --value "/admin" --action deny
    Or add this to .doorman.json
    {
      "id": "rule_block_admin_access",
      "name": "Block Admin Access",
      "conditionGroup": [
        {
          "conditions": [
            {
              "type": "path",
              "op": "pre",
              "value": "/admin"
            }
          ]
        }
      ],
      "action": {
        "mitigate": {
          "action": "deny"
        }
      },
      "active": true
    }

    Need multiple conditions in one rule (AND/OR groups)? A single command line can't do that. Run doorman add --interactive for the guided prompts instead.