AI and Row-Level Security: Who Sees What When You Ask?

Turner · 2026/11/27

PERMISSIONS AND AI

An AI assistant shows each user only the permitted data when the system that runs the query checks that user’s permissions before anything reaches the language model. Many ways of asking AI about company data skip this step. An exported file, a connector with one shared account or a home-built text-to-SQL agent usually sees whatever its connection allows, whoever is asking.

JAS, the AI assistant in TURBOARD, answers under the same row-level and column-level permissions as every dashboard. Two users who ask her the same question each get an answer from their own data.

What are row-level and column-level permissions?

They decide which records and which fields of the same table each user may see. Row-level permissions cut the table horizontally, and column-level permissions cut it vertically.

1 2 3
Visible to the userFiltered outHidden column
  1. Row-level (horizontal): the user sees only their own records, for example the stores of one region.
  2. Column-level (vertical): a field such as salary or margin is hidden from this user in every record.
  3. Both together: what this user gets from the table.

In a retail chain, a regional manager sees the sales of the stores in one region while the sales director sees all of them. Both open the same report. A store manager in the same company may see revenue without the margin column, and only the HR team sees salaries.

Organizations spend years getting these rules right, usually inside their BI platform or their data warehouse. The rules live in that system. They are not stored in the data, so a copy of the data or a new route to it does not carry them along.

Where do permissions get lost when AI is connected to company data?

At the point where the AI tool reaches the data with one identity for everyone. A dashboard is opened by a user the BI platform knows. An AI tool placed in front of the same data often signs in once, with an account of its own.

1 2
Users with different permissionsAI assistantData every user can reach
  1. One shared account: every question reaches the same full table, whoever asks it.
  2. Per-user permissions: each question reaches only the rows and columns of the user who asked.

The shared account is one of six places a review should cover:

  • The connection. The tool queries the database with a service account. In PostgreSQL, for example, superusers and roles with the BYPASSRLS attribute always bypass row security, and table owners do so by default (PostgreSQL documentation).
  • The index. A retrieval index or vector store is built with wider rights than any single user has, and filtering it for each user is left to the application. OWASP lists this under vector and embedding weaknesses.
  • Caches and memory. An answer computed for one user is stored and served to another who asks a similar question.
  • Generated SQL. The model writes a query against the base tables and skips the view or the filter that carried the restriction.
  • Text inside the data. A comment field or a document contains instructions, and the model follows them. OWASP calls this indirect prompt injection.
  • Logs. Prompts and results are written to a logging or monitoring service that more people can read than the data itself.

How do the common ways of asking AI about company data handle permissions?

In four of the six, the result depends on how a file, a connector or your own code was set up. The first five rows come from each vendor’s or project’s own documentation, read on 27 November 2026.

ApproachHow it reaches the dataWho applies row and column rules
An export uploaded to a chat assistant such as ChatGPT, Claude or GeminiThe user uploads a CSV or Excel file.Nobody. The file holds whatever was exported, and the rules of the source system stay behind. The file can also be passed on.
A chat assistant with a database connector or MCP serverThrough a connector that holds a credential for the database.The database, for the identity the connector signs in with. A connector set up with one connection string or one shared credential gives every user the same access.
A workplace assistant over documents, such as Microsoft 365 Copilot or ChatGPT company knowledgeThrough each user’s own access to files, mail and chats.The source system, for whole files and sites. A spreadsheet the user can open is readable in full, and content shared too widely can surface in answers.
A text-to-SQL agent built in-house, for example with LangChainThrough the database connection the developers give the agent.Your own code. The agent runs model-written SQL with the rights of that single connection unless the team builds per-user rules around it.
An assistant inside a data platform, such as Snowflake Cortex Analyst, Databricks Genie or a Microsoft Fabric data agentInside the platform, with the identity of the user who asks.The platform, for the data stored in it. Row and column policies defined there apply to each user, with exceptions the vendors document.
TURBOARD, JASThrough the BI platform, as the user who is signed in to it.TURBOARD’s engine, with the same row-level and column-level permissions as every dashboard, for all the data connected to the platform, in the cloud or on-premise.

Sources: OpenAI on company knowledge and custom MCP servers; Anthropic on custom connectors; the Model Context Protocol authorization specification and its reference PostgreSQL server; Microsoft Learn on Copilot and permissions and overshared content; LangChain on SQL agents; Snowflake on Cortex Analyst and Cortex Agents; Databricks on Genie and Genie on dashboards; Microsoft Learn on the Fabric data agent.

Two of these six approaches apply row and column rules to each user by design: the data-platform assistants, for the data inside their own platform, and JAS in TURBOARD, for the data connected to the BI platform. Workplace assistants protect whole files, and the other three depend on the export, the connector or the developers.

What happens with a connector or an MCP server?

The assistant gets the access of the credential behind the connector. The Model Context Protocol, which ChatGPT and Claude use for custom connectors, describes authorization as optional. Its reference PostgreSQL server is configured with a single database address that includes the user name and password, so every question arrives at the database as the same user.

The vendors of the assistants leave this to the customer. OpenAI tells administrators that they are responsible for checking that a custom MCP server is safe for their organization. Anthropic’s documentation lets each member connect with their own account, and it also describes connectors where the whole organization shares one credential, such as a service account. Per-user rules work only when every user signs in to the connector personally and the database behind it holds row and column rules for that user.

Do workplace assistants such as Microsoft 365 Copilot respect permissions?

Yes, at the level of files and sites. Microsoft states that Copilot surfaces only the organizational data a user has at least view permission for. OpenAI says the same about company knowledge in ChatGPT, and Anthropic about Claude’s Google Workspace connectors.

This protects documents. It does not reproduce the row and column rules of a BI system, because a user who can open a spreadsheet can read every row in it. Microsoft also notes that when content is already overshared, Copilot can surface it to anyone who has access. A monthly export saved in a widely shared folder is that kind of content.

Do data-platform and BI assistants enforce row-level security?

Yes, inside their own platform. Databricks says data access in Genie is always evaluated with each user’s own Unity Catalog permissions, and that row filters and column masks are enforced for each user. Snowflake says Cortex Analyst follows its role-based access control, and its Cortex Agents documentation says queries run as the calling identity. Microsoft says a Fabric data agent uses the identity and permissions of the user who asks.

The same pages list exceptions. In Snowflake, row access policies do not filter Cortex Search, which queries with the rights of its owner. In Databricks, a Genie attached to a dashboard published with shared data permission answers with the publisher’s access. These assistants also cover only the data stored in that platform, so an organization with several databases defines its rules once per platform.

Assistants built into BI platforms take the last row’s approach. Microsoft documents that row-level security continues to apply with Copilot in Power BI, and Tableau that row and column security policies are respected by Tableau Agent. Most of them run only in the vendor’s cloud, as On-Premise AI for BI shows.

Can the model simply be told who may see what?

No. An instruction in a prompt is a request to the model, and a permission has to be enforced by software that cannot be talked out of it.

A common shortcut is to give the assistant full access and add a line such as “only show this user the North region” to its instructions. A language model follows instructions most of the time, and a user who rephrases the question often enough, or a piece of text hidden in the data, can get a different result.

The OWASP Top 10 for LLM applications says the system prompt should not be used as a security control, and that authorization checks must not be delegated to the model (LLM07: System Prompt Leakage). The check belongs in the layer that runs the query, where it works the same way every time and can be audited.

What should you ask a vendor about permissions and AI?

Ask these seven questions, and ask to see the seventh demonstrated.

  1. When one of our users asks a question, whose identity runs the query: the user’s own, or a shared account?
  2. Do row-level and column-level rules apply to AI answers exactly as they do to dashboards, and where are they defined?
  3. Is any index, embedding store or memory built with wider rights than the user who asks, and how is it filtered for each user?
  4. Are answers or caches shared between users with different permissions?
  5. Can data the user may not see reach the language model at any step?
  6. What is logged for audit: who asked, what was run and what was returned, and where are those logs kept?
  7. Can you show two users with different permissions asking the same question, and each getting only their own data?

How does JAS apply permissions to a question?

JAS uses the same permissions as the rest of TURBOARD. A user who cannot see a region’s rows on a dashboard cannot reach them by asking JAS.

Permission in TURBOARDWhat it does
Row-level (horizontal) restrictionsEach user sees only the records they are entitled to.
Column-level (vertical) restrictionsEach user sees only the fields they are entitled to.
Data maskingSensitive fields are masked.
Synchronized permissionsRules are read from other applications’ databases, so nobody maintains them twice.
Users and groupsRules are set for a single user or for a group.

These rules are defined once, in TURBOARD, and they apply to dashboards, exports, every scheduled report e-mail and every JAS answer. Single installations serve hundreds of thousands of named users, each seeing only their own data.

The language model does not produce the numbers. TURBOARD’s engine calculates them with the governed model, date logic, calculations and permissions behind every dashboard, and each answer shows the report or view it came from.

Which account does TURBOARD use to query the database?

The account your organization gives the data source, with each user’s restrictions applied to every query. When an administrator creates a data source, the organization provides a database account for it, in most cases a read-only one. Users do not work with that account. TURBOARD runs each user’s queries with that user’s row-level and column-level restrictions, on dashboards and in JAS.

  • The language model. A question to JAS is answered with queries that carry the asking user’s restrictions, so JAS knows what that user is allowed to know. Data outside those restrictions does not reach the model.
  • Shared content. What a user shares opens in TURBOARD, where the recipient signs in and sees it under their own permissions. A file attached to an e-mail is the exception, because it is read outside TURBOARD.
  • Audit. Every step of a JAS question is logged.

JAS works the same way in the cloud and on your own servers, including with an offline model in a closed network. The JAS page explains how she works, and Data Security with TURBOARD describes every data path.

To see two users with different permissions ask JAS the same question, ask TURBOARD for a demonstration.

Frequently asked questions

Does JAS respect row-level and column-level permissions?

Yes. JAS uses the same permissions as the rest of TURBOARD, including row-level and column-level restrictions and data masking. She answers each user from the data that user is authorized to see.

Can a user get around a restriction by rephrasing the question?

Not in TURBOARD. Its engine answers the question with the user’s permissions, as it does behind every dashboard. A user who cannot see a region’s rows on a dashboard cannot reach them by asking JAS.

Can data a user is not allowed to see reach the language model?

Not through JAS. Her queries for a user run with that user’s row-level and column-level restrictions, so the model receives only what that user may see.

Does TURBOARD use a service account to reach the database?

Yes: the account your organization assigns to the data source, usually a read-only one. Users do not query with it directly. TURBOARD applies each user’s row-level and column-level restrictions to every query it runs for that user.

Does ChatGPT respect row-level security in a database?

It depends on the connection. OpenAI says company knowledge respects the permissions of the connected source. A custom MCP server reaches a database with the credential it was given, and a server set up with one shared credential gives every user the same access.

Does Microsoft 365 Copilot respect permissions?

Microsoft states that Copilot surfaces only the data a user has at least view permission for. This works for whole files and sites. Microsoft also notes that content shared too widely can be surfaced to anyone who has access to it.

Is row-level security enough to make an AI assistant safe?

It covers the query. Indexes, caches, logs and the text sent to the language model need the same check, which is why the seven questions above ask about each of them.

Is JAS included in the TURBOARD license?

No. JAS is licensed separately, so not every TURBOARD customer or user has JAS.

Can JAS run on-premise with the same permissions?

Yes. TURBOARD runs in the cloud or fully on-premise with the same platform and the same features, and JAS can connect to a model on your own hardware. On-Premise AI for BI explains the options.

Stop building dashboards, and start getting answers. Experience the next era of BI with our leading GenAI capabilities ‒ request your personalized free demo today.

Are you curious?