Skip to content
GitHub (opens in a new tab)

FAQ · Access rules and approvals

How do I keep the AI read-only on production but allow changes on staging?

Updated

Give production and staging separate endpoints, and turn off the tools that change data on the production one. GateRook keeps production connections on production endpoints only, so the two never share one.

  1. On the production endpoint, open Tools & policies and set the tools that change data, such as sql_execute, to Off. The AI no longer sees them. Keep the reads in Read only.
  2. Connect production with a database user or service account that can only read.
  3. On the staging endpoint, keep changes in Approval, or use Bypass for tools you accept without review. Temporary bypass, for 15 minutes to 24 hours, works on dev and stage only.
  4. In AI apps, connect each app to the endpoint it should use.

For an endpoint where nothing can change data, Create endpoint offers Read-only dev and Read-only stage. Production also has stricter defaults: lower limits, a required approval comment and no approval from Slack or Telegram.

To review rare production changes instead of blocking them, leave those tools in Approval. See connections, endpoints and environments.

All questions

Still have a question?

Ask the GateRook team.

Write to support@gaterook.com about setup, security or anything these answers do not cover. Report bugs and suggest features on GitHub.

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)

Optional analytics

Google Analytics measures visits and download clicks. You can turn it off here or change your choice later in Analytics settings.

Analytics is currently on.

Privacy Policy & cookie choices · Google privacy policy (opens in a new tab)