Skip to content

docs(developers): document what Read Only allows for external callers - #160

Merged
datlechin merged 2 commits into
mainfrom
docs/external-read-only
Nov 1, 2026
Merged

datlechin merged 2 commits into
mainfrom
docs/external-read-only

Conversation

@datlechin

@datlechin datlechin commented Nov 1, 2026 •

Copy link
Copy Markdown
Member
  • developers/index.mdx: new "What Read Only allows" section under Security model. Read Only is a check on the statement text; one statement per call (SQL Server scripts excepted); file and server-code statements and TablePro's own grid requests are refused at every level; the assistant makes the same refusals; the connection login's privileges are the final limit.
  • developers/mcp-tools.mdx: Scopes and gates names the Read Only refusal and the tool error codes (denied, invalid_argument), and links the new section. read_only: true fails with denied, not -33007. SQL Server scripts: EXEC of a procedure counts as a write; EXEC of a string and sp_executesql are refused.
  • developers/applescript.mdx: the SQL Server example ran EXEC sp_help, which Read Only refuses; it now runs two SELECTs. Grid requests added to the refusals, -10000 row covers checks that hold at every level.
  • developers/tokens.mdx, features/mcp.mdx, features/safe-mode.mdx (External clients): link to the new section.
  • features/safe-mode.mdx (What counts as a read): how EXPLAIN, DESCRIBE and ANALYZE are read.
  • features/mcp.mdx (Security model): a request without a token gets 401. It used to say an unauthenticated local caller is read-only.
  • features/ai-assistant.mdx (Tool calling): execute_query refusals, and a read-only login as the limit that holds when database text steers the model.

App change: TableProApp/TablePro 0.83.1 security release

@mintlify

mintlify Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
TablePro 🟢 Ready View Preview Nov 1, 2026, 8:02 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@datlechin
datlechin merged commit 4811717 into main Nov 1, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
staging — 2396e349 Deployed Nov 1, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant