Blog/26 November 2026
A short lead for coding assistants: permissions for tools that touch your database
Connecting a coding assistant to your backend is one of the most useful things you can do with one. It can read your schema instead of guessing it, check a query against real tables, and apply a migration without you copying text between windows.
It is also a program, run by another company, holding credentials to your data. Both things are true at once. The question is not whether to connect one but how much to hand over.
The problem with one big key
The simplest way to connect a tool is to give it a key that can do everything. It works immediately, which is why it is common.
The trouble is that an assistant acts on what it reads. If it reads a row, a ticket, a comment or a web page containing text that looks like an instruction, it may follow it. With a key that can read every table and write anywhere, a stray instruction becomes a data leak or a dropped table, and no permission was violated along the way, because the key allowed all of it.
So the useful question about a connector is: when the assistant does the wrong thing, what is the most it can do?
Parts, not a master key
In Rezin Core, a connection is made of parts, and each part is on or off:
- your account and companies;
- the database;
- functions;
- files;
- secrets;
- the record of activity;
- the documentation.
Nothing is ticked to begin with. You choose the projects the connection may reach and the parts it may use, on a page that names the program asking.
The assistant is then shown only the tools inside those parts. A tool outside them is not in its list, and if it is called by name anyway, the answer is "No such tool". An assistant cannot be talked into using something it cannot see.
Look only
A connection can be held to looking. In that mode the assistant can list tables, read rows with a query, read function code and logs, and search the documentation. Every change is refused by the server.
For explaining a schema, drafting a migration for you to review, or working out why a query is slow, looking is enough. Start there.
Deploying is a decision of its own
Functions are your own code running on the server with the secrets you assigned. Letting a tool deploy one is a different order of trust from letting it read a table.
So deploying, changing or deleting a function is a permission by itself. It is off unless you tick it, and it needs both "look and change" and the Functions part. A connection that can write rows cannot, for that reason alone, put new code on your server.
Things no connection can do
Some limits do not depend on what you tick:
- It cannot read a secret's value. A tool can list the names of a project's secrets and store a new value. Nothing reads one back.
- It cannot do more than you can. A connection acts as your account, inside your role's limits.
- It cannot reach another customer's project or the platform's own tables.
- It cannot hide. Everything it does is on the project's record under your name, marked as coming through the connector.
The honest caveat
None of this changes one fact: an assistant you connect is an outside service. What it reads through the connector, whether rows, table names or log lines, goes to whoever runs that assistant. Permissions limit what it can reach. They do not bring it inside your walls.
That is why the documentation says, at the top of the page, not to connect one to a project that holds health information or any other data you may not share with that provider.
The assistant that stays inside
Rezin Core also has an assistant of its own, built into the console, and it is a different thing from the connector.
It runs on Rezin Core's own servers, so your questions and your table names are not sent to an outside AI company. It is shown the shape of your project (table and column names, how tables link, your access rules, the error you sent it) and not your rows, files, users, keys or secrets. Under each answer is a list of what it was shown.
And it only proposes. Each suggestion is a card with the exact text, marked as checked or not. Applying one asks you first, runs as you, and is recorded twice: the change under your name, and a note that the assistant proposed it and you approved it.
A way to set this up
- Connect with one project and "look only". Tick the database and the documentation.
- Use it for a week. Notice what you wished it could do.
- When a job needs a change, make a second connection for that job with "look and change", and disconnect it afterwards.
- Tick "may deploy functions" only for a session where you are deploying functions.
The details are in the connector's documentation and on the assistant's page.