Skip to content

Access control

Control which tables, columns, rows, and ad accounts Terno AI can use, for everyone or for each group of users.

Choose exactly which data Terno can use. It helps to:

  • Keep sensitive tables or columns, such as salaries or personal data, away from the AI.
  • Hide old or noisy tables so Terno picks the right ones.
  • Give each team a view of only the data they should see.

Open Admin from the profile menu (your avatar, top right). The rules live under Terno DBI.

Terno admin panel
RuleWhat it does
Private table selectorsHide tables from everyone in the workspace.
Group table selectorsInclude or exclude tables for a specific group of users.
RuleWhat it does
Private column selectorsHide columns from everyone, such as email or salary.
Group column selectorsInclude or exclude columns for a specific group.
RuleWhat it does
Table row filtersOnly show rows that match a condition, for everyone.
Group table row filtersOnly show matching rows to a specific group, such as region = 'EU' for the EU team.

Row filters are SQL conditions of up to 300 characters. Terno adds them to every query, so users in that group can never see other rows, however they phrase the question.

Example: give the EU sales team only EU data

Section titled “Example: give the EU sales team only EU data”
  1. Make sure the EU sales team are in a user group, for example EU Sales.
  2. In Group table selectors, include only the orders and customers tables for EU Sales.
  3. In Group column selectors, exclude customers.phone for EU Sales.
  4. In Group table row filters, add region = 'EU' on orders for EU Sales.

For app connectors, choose which accounts Terno can use in Manage → Account selection on the connector. See Managing connections. Accounts set to No access are never queried.

Admins can also give a group only some accounts. Account selection can then only narrow that list, never widen it.