Business Intelligence
How to Enable Self-Service Data Access With Control
Control over self-serve data access comes from three things: who's in each group, what each group may read, and a log that names the person behind every query. We tested three common setups on PostgreSQL 18.6 to see what a product manager could read and what the log recorded.

You don't keep control of self-service data access by approving each request. You keep it by granting data to groups, keeping those grants in a file whose changes get reviewed, and recording every query against the person who asked. Then a PM who joins the product group can ask anything inside that group's data, with no ticket and nobody signing off on each question.
What is self-service data access?
Self-service data access means people find and use the data they need without filing a ticket with the data team, inside rules someone set in advance. A PM who wants last month's activation by plan asks a tool and gets the number, instead of sending the data team "can you just send me the number" and waiting in line.
That queue is slow. In a 2020 survey Sigma commissioned, 55% of 801 data experts said the average data request took one to four weeks.
How can I enable self-service data access while maintaining control?
Control comes from three decisions you make once, ahead of time:
- Who belongs to which group. Product, marketing, finance. Membership should come from your identity provider, so a person who changes teams or leaves loses access when HR updates them, not when someone remembers.
- What each group may read. Grant schemas, tables or columns to the group. Keep the grants in a file, so every change shows up as a diff someone reviews before it applies.
- Who asked. Every query should be recorded against a person, not against the tool that ran it. When a number leaks or a dashboard looks wrong, the first question is who looked at what.
Membership is the part that drifts. Varonis's 2025 review of 1,000 organizations found stale but still-enabled "ghost" users in 88% of them. Check who's in each group on a schedule, even if your identity provider syncs membership for you.
What does each access setup let a PM see, and what does the log record?
We ran the same users and the same queries through the three ways a self-serve tool can reach the data, on a local PostgreSQL 18.6 database on November 24, 2026. The data had three tables: events, accounts (with an owner_email column) and employees (with salaries). Two PMs, alice and bob, sit in a product group; mia is in marketing. Logging recorded every statement with the user name (log_statement = all and %u in log_line_prefix).
| Setup | What alice could read | What the log recorded as the user | Add a PM / remove one / open a new table |
|---|---|---|---|
One shared login (bi_service) for the tool |
Everything, salaries and customer emails included | bi_service, for alice and mia alike |
Happens in the tool, outside the database |
A login per person, in a product group role |
events and four of the five accounts columns; nothing in employees |
alice, failed queries included |
One GRANT or REVOKE each |
One tool login that switches role per person (SET ROLE alice) |
The same as the per-person login | The tool's login, tool_login |
Group grants work as above; each new person's role also has to be granted to the tool's login |
One shared login. The tool connected as bi_service, which could read every table. Alice's SELECT * FROM employees returned every salary. And the database couldn't tell her apart from mia: every line said user=bi_service. To mark who asked, we put a comment in each query's SQL, and that comment is the only place a name shows up. Behind a shared login, only the tool decides what each person can see, and only its own log says who asked.
A login per person in a group role. The product role got SELECT on events, and on accounts only for account_id, name, plan and mrr, a column grant that leaves out owner_email. Alice and bob are logins that are members of product. Alice's SELECT * FROM employees was denied, and so was mia's query on events. Every log line named the person.
The changes were small. Adding carol meant creating her login and one GRANT product TO carol, and her queries worked at once. REVOKE product FROM bob cut bob off with one statement. A new features table took one GRANT SELECT ON features TO product, and alice and carol could read it right away.
Column grants have one catch. Alice's SELECT * FROM accounts failed outright with permission denied for table accounts: her group can read four of the five columns, not the table. Naming the four columns worked. So a tool that writes SELECT * against a table with hidden columns breaks, and the tool, or the model writing its SQL, has to know which columns each person may read.
One tool login that switches role. Here the tool connects as tool_login, which is a member of every user's role, and runs SET ROLE alice before alice's queries. Permissions followed alice exactly: the same denials as her own login. But session_user stayed tool_login, and every log line said user=tool_login. The only trace of alice was an earlier SET ROLE alice; line in the same session. And a login that can become alice can become bob just as easily: in our row-level security test for AI agents, the agent's own SET ROLE bob returned bob's rows.

How can engineering and business teams query the same governed data without duplicating access controls?
Put the grants where the data lives, once, and run every tool's queries as the person who asked. Then the warehouse applies one set of rules whether the query comes from an engineer's SQL client, a PM's dashboard or an AI assistant.
Engineering doesn't need its own copy of product's grants. In Snowflake, granting one role to another builds a hierarchy, so an engineering role that's granted product inherits everything product can read. Change product's grants and engineering follows.
Snowflake and BigQuery both know who's asking. With Snowflake OAuth, Snowflake "creates a user session with the authorized role" for the person who signed in, and its ACCESS_HISTORY view records the user who issued each query and the columns it touched, on Enterprise Edition and up. BigQuery's audit logs keep the caller's identity for any access that succeeds.
Where a tool can't pass the person through, it reaches the data on stored credentials. Power BI's DirectQuery, for example, "uses configured stored credentials for all viewers" unless single sign-on is configured. That's the shared login from our test.
Can access changes be approved without a ticket for every report?
Yes, if you split the two kinds of change. A question inside what your group may already read needs no approval: the group grant already decided it. Only a change to what a group can read needs a person to say yes.
In our test, opening the features table to the product group was one line in a policy file:
GRANT SELECT ON events TO product;
GRANT SELECT (account_id, name, plan, mrr) ON accounts TO product;
GRANT product TO alice, bob;
+GRANT SELECT ON features TO product;
A one-line diff is quick to review and easy to undo. If the policy file lives in a GitHub repo, a CODEOWNERS entry for the policies folder means the data owner is "automatically requested for review" on every pull request that touches it, and branch protection can require that review before merge. The history of the file is then the history of who could see what, and who approved it.

Request-and-approve portals do the opposite: each person asks for each dataset, and an approver signs off. Microsoft Purview's self-service access policy works that way, though it's a preview feature inside Purview's data governance tools, which Microsoft is retiring. Per-request approval makes sense for the few datasets that really need a human each time. For the rest, it's the ticket queue again with a nicer form.
What changes when AI agents query the data?
The same three controls apply, and they matter more: an agent asks far more questions than a person, and nobody reads each query before it runs. Run the agent as the person using it, show it only what that person may see, and log its queries like the person's own. An agent on a shared, all-access credential is the shared-login row of our test at machine speed: it can read everything, and the log can't say who it was working for.
How does Querio handle self-serve data access?
We built Querio around the same three controls.
- Who's in each group: your identity provider decides, through SSO (Okta, Google), SCIM and group sync on Core and above.
- What each group may read: data sources, schemas and tables, granted per group. The permission policies are files in a git repo you own, next to your metrics and dashboards, so opening a table to a group is a pull request under the repo's own reviewers. Row-level security comes from warehouse roles or a separate credential set per group.
- Who asked: on Snowflake, BigQuery and Databricks, Querio uses per-user OAuth, so each query runs as that person under the warehouse's own access rules. On Postgres, Redshift and ClickHouse, Querio connects with a service account and its group policies decide what each person can read. Either way, Querio logs every query, agent action and promotion, with audit history on Core and audit export on Enterprise.
Agents get no back door. Claude, working through Querio's MCP server, sees exactly what its user would see in the app.
Querio is SOC 2 Type II, HIPAA compliant (we sign BAAs), GDPR compliant and ITAR compliant. Request the SOC 2 report from the Trust Center.
Adding the whole product and marketing teams doesn't cost seats either: Querio has no per-seat pricing, with unlimited users and connections on every plan, and only AI model calls are metered, as credits. See pricing.
