Rezin Core Rezin Core

Product/Access rules

Tables start closed. You decide who reads what.

Access rules are Postgres row-level security with the hard parts taken out: templates for the rules people actually use, a way to view your data as any user, and an answer when you ask why something was refused.

What it does

Rules from templates

Only the caller's organization, only the owner, read for everyone signed in, roles inside an organization. Pick one, or write the expression yourself and have it checked before it is saved.

View as

Look at a table as a particular user, as your server, or as a visitor with nobody signed in, and see exactly the rows they would be given.

An advisor that looks for gaps

It lists tables with row-level security off, rules that let every row through, and permissions the application does not need.

How it is different here

What you would not get by default elsewhere.

  • Closed is the starting pointA new table has row-level security on and no rule, whether it was made in the table editor, with SQL, by a migration or by a coding assistant. Nothing is readable until you say who may read it.
  • Why was this refused?Ask about any read, add, change or delete, for any caller. You get the verdict and the steps the database took, down to the part of the rule that decided it and the two values it compared.
  • Refusals you can traceWhen the rules turn a request away, the answer carries a short ID. The same ID is on the "Refused lately" list in the console, ready to be explained.

In practice

Ask why, from the command line
rezin explain-access notes read --user 3f2b… id=9d41…

Refused. This row is hidden: none of the rules that could allow it
holds for this row and this caller.
  organization_id = core.app_org()     does not hold

Nothing is changed by asking, and a read-only member of the company can ask.

Limits

What a plan includes each month is on the pricing page. These are the numbers that matter for this part.

Refusals kept on the "Refused lately" listThe newest 200 for a project
What is kept about a refusalThe table, the action, who asked and when. Never the row

Try it

Rezin Core is in development and available by invitation. With an invite code you can create an account and a first project in a few minutes.