Data Sensitivity and Permissions
A model usually holds more than definitions. Example data makes a fact type concrete, and that data is often real: rows taken from a production system so the reader can see what the model is talking about. CaseTalk lets you say how sensitive that data is, and who is allowed to read it.
Nothing is hidden until you ask for it. Out of the box every reader sees everything, exactly as before.
The levels
| Level | Meaning |
|---|---|
| Unclassified | Nobody has assessed it yet. This is the starting point for everything. |
| Public | May be shown to anyone. |
| Internal | For people inside the organisation. |
| Protected | For people with a reason to see it. |
| Restricted | The most confidential. Personal data usually belongs here. |
Public and Unclassified are never masked. Internal, Protected and Restricted are.
Classifying a concept
Open an object or fact type and set Sensitivity on it. Everything the concept carries follows from that, including the example rows underneath it.
A concept classified above Public is marked on the diagram with a shield, and the diagram legend explains the mark. The Ontology view groups concepts under Data Sensitivity so you can review the whole model from one place, and the object/fact type filter can hide chosen levels — including hiding Unclassified, which is how you ask to see only what has actually been assessed.
Classifying a single row
Example data is not all of a kind. A row you invented to illustrate a fact type is safe to print however sensitive the concept is, while a row lifted from production is not, however ordinary the concept looks.
In the population editor, right-click a row and choose Sensitivity. What you pick there overrides the concept, in both directions:
- Public on an invented row keeps it readable even under a Restricted concept.
- Restricted on a production row protects it even under an ordinary concept.
- As the type says is the default: the row simply follows its concept.
Classifying data in a source
Sensitivity often belongs to the source system rather than to the model, and the catalog is frequently the only place that knows a column holds personal data.
Go to Tools → Options → Data Classification. Rules there classify columns before anyone has modelled them:
source / catalog / schema / table / column = Level
Each part is a pattern. * matches anything, and a part containing regular-expression characters is treated as one. Matching ignores case and covers the whole name, so a rule naming Name does not also match Nameless.
*/Northwind/dbo/Customers/Phone = Restricted */*/*/Employees/*Name = Protected */*/*/*/(BSN|SSN|Password) = Restricted */*/*/Salaries/* = Restricted
Leaving the level off means Restricted — a rule someone bothered to write is assumed to be about data that needs protecting.
There are two sets of rules: a global set that applies everywhere, and a set belonging to the open project. Within one set the strictest matching rule wins, so the order of the lines does not matter and adding a rule can only ever tighten. Between the two, the project's rules replace the global ones for the columns they match — so a project can both tighten and relax the house policy.
You can also build a rule without typing it: in the Data Explorer, right-click a table, view or column and choose Classify … as sensitive. The options open with the rule already filled in, and you only pick a level.
Classified tables and columns are marked in the Data Explorer, and the classification travels with a catalog snapshot, so it survives being handed to somebody else. Reading data through a mapping respects it too: a classified column is masked even when the concept it feeds has never been classified.
Your permission level
Go to Tools → Options → Reports and Output and set Permission level under Population Limits. It says what the person at this CaseTalk is allowed to read: example data classified above it is replaced by a placeholder wherever a sentence is shown.
The default is Restricted, meaning everything is readable. Lower it when you are presenting, screen-sharing, or working somewhere the data should not be on display.
A placeholder looks like Template:Ct:a51f01df. The same value always gets the same placeholder for as long as CaseTalk is running, so rows still line up and can be compared and counted. Closing CaseTalk forgets them.
Working with masked rows
In the population editor a masked row can be read but not edited: what is on screen is a placeholder, so typing over it would replace the real value with a copy of its own placeholder. For the same reason a masked row is never written back when you press OK.
When you genuinely need to work on those values, right-click and choose Reveal masked values. CaseTalk asks first, then shows them for as long as the editor is open and hands the permission back when you close it. It is the same idea as temporarily unlocking an object or fact type in order to edit it.
Reports
A report leaves CaseTalk as a file, and from that moment nobody knows who opens it. When a model classifies anything above Public, the project report therefore carries a Confidential notice in its header naming the highest level in the model, and asking the reader to treat the file accordingly.
The AI assistant
Anything an assistant is given has left your machine. Example data above your permission level reaches it as placeholders rather than as values, and a search does not report a hit inside a confidential value — a masked hit would still answer the question "is this value in the model?".
If the assistant hands a placeholder back, CaseTalk turns it into the real value again on the way in, so it can work with data it was never shown.
Classification applies to example data, not to the model. Names of concepts, fact types, roles and constraints are always readable — the model is the thing you are sharing, and a model nobody can read is of no use to anyone.
What is stored is never masked either. Masking happens when a value is shown, so saving, generating, comparing and validating always work on the real data.