All posts

Who can see the fees?

A permission is not a hidden column. It is a question put to the database itself, and the interface does not get to overrule it.

An illustration of the screen — generic figures, no client data.

In most practice-management systems, “reviewers cannot see fees” means the interface does not draw the fees column. The data reached the browser. A line of CSS hid it.

That is not isolation. That is tidying up.

The difference shows up at the first export, the first shared link, the first backup opened with anything other than the interface. Data that reached the device reached it, drawn or not.

Mizan asks the question in two layers, and each has a different job:

  1. The capability decides what is asked for. A reviewer does not hold engagement.viewFees, so the screen never builds the request, never draws the column, never offers the export.
  2. Row-level isolation in the database decides what is handed back. Even if the row is asked for outright — from a shell, from a query written wrong, from a reporting tool — anything that does not belong to this user and this firm is not returned.

The first layer is user interface. The second is what holds when the first one is wrong.

This is why the number of rows crossing between firms in this product is zero, and why that is measured rather than promised: the tests open a session as a user of one firm, ask for a row belonging to another, and assert the answer is empty — not an error message that confirms the row exists, but nothing.

The practical payoff is that a firm can put a trainee on a file without first holding a meeting about what they are allowed to see. Assign the file; the permission handles the rest.