Topic 4 of 4 · 4 min read
Permissions and row-level security for BI assistants
Goal: Explain which data a BI assistant can reach for a given user and spot an answer that exposes data beyond its audience.
A BI assistant should see exactly what the person asking can see, and an answer is only safe to share with people who could see the same data.
Check yourself · 1 of 3
What does row-level security (RLS) do?
Why it matters
Dashboards often hold data that not everyone may see: salaries, sales by rep, customer lists. BI tools control this with permissions on reports and datasets, and with row-level security (RLS), where a rule filters the rows each person gets. A regional manager sees their own region. A finance analyst sees all of them.
Copilot in Power BI and similar assistants work inside those rules, so the person's access sets what the assistant can read. The risk is not that the assistant breaks the rules. The risk is what people do with the answers, and how some setups are built.
How access works
- User identity. The assistant acts as the signed-in user. Same permissions, same RLS roles.
- Roles and filters. RLS limits rows, such as Region = the user's region. Some tools also support object-level rules that hide whole columns or tables.
- Service accounts and agents. If an assistant or agent connects with a shared account, it may see more than any single user should. This is the setup to question first.
- Sharing. A chart or summary pasted into chat, email or a slide leaves the tool. The rules do not travel with it.
How to check
- Ask who the assistant runs as: the signed-in user or a shared account.
- Test with two accounts that have different roles. The same question should give different totals.
- Read the answer for named people, small groups and detailed rows. Small groups can identify individuals even when names are hidden.
- Before sharing, ask: could every reader have opened this data themselves?
Before and after
Before: A regional manager asks a shared-account assistant "How did every region do?" It returns all regions and the salary cost of each team. The manager forwards the answer to the whole department.
After: The assistant runs as the manager. RLS limits the answer to their region. If they want company totals, they ask a colleague who has that access, or a dashboard built for that audience.
What goes wrong
- Shared connection. An agent uses one powerful account, so everyone gets the same wide view.
- Copying out. A summary containing restricted figures goes to a channel with more people than the data allows.
- Missing roles. RLS was set up for the dashboards but not for the semantic model the assistant queries.
- Small groups. A "team of two" breakdown reveals one person's pay.
- Prompting around it. Asking the assistant to "ignore restrictions" should change nothing. If it does, report it to the data owner.
Examples
Two users, one question
Both ask: "Total headcount cost this year?"
- Regional manager (RLS: Region = North): 1.2 million
- Finance analyst (all regions): 6.8 million
Different answers are the correct result of the rules. If the manager sees 6.8 million, the assistant is not running as the manager.
Forwarding an answer
An analyst pastes an assistant's table of salary by team into a channel with 200 members. The analyst had access, but most of the channel does not. The fix is to share a version built for that audience, with totals by department only.
Key points
- A BI assistant should work with the same permissions and RLS roles as the signed-in user.
- Row-level security filters rows per person, so two users can get different totals from the same question.
- An assistant or agent connected through a shared service account can reach more data than any one user should see.
- Rules do not travel with a copied answer, so check the audience before sharing it.
- Small groups in a breakdown can identify individuals even when names are removed.
Common mistakes
- Assuming the assistant has its own access rather than the asking user's access.
- Connecting an agent through one shared account with broad permissions.
- Pasting an answer into a wider channel than the underlying data allows.
- Believing that hiding names makes a breakdown of two or three people anonymous.
Check yourself · 2 of 3
An agent connects to your BI tool through one shared account with access to every region. What is the main risk?
Check yourself · 3 of 3
You are about to paste an assistant's table of salary by team into a channel with 200 members. What should you ask first?
Practice items, not counted towards your mastery.
Start here
- Copilot in Power BI overview (opens in a new tab)DocsFree
Microsoft's description of what Copilot can do in reports and what it needs from your data.
- Conversational Analytics in Looker (opens in a new tab)DocsFree
Google's overview of asking Looker questions in plain language and how answers are grounded in the model.
- dbt Semantic Layer (opens in a new tab)DocsFree
Explains how one governed metric definition serves every tool, including AI assistants.
More for this topic
- Row-level security (RLS) with Power BI (opens in a new tab)DocsFree
How roles and filters limit which rows each person sees in a report.