Setting up Metabase data permissions

Metabase data permissions decide which groups can view, query and download data from each connected database and table. This page explains how to configure them safely, starting with the All Users group.

On this page

Setting up Metabase data permissions for each group

Data permissions in Metabase are set per group, per database and per table in Admin > Permissions > Data, and they control three things: View data, Create queries and Download results. Use this setup when a self-hosted Metabase connects to databases holding sensitive records, such as customer, payroll or patient data, and different teams must see different tables. According to the Metabase docs, View data permissions are a Pro and Enterprise feature. The open source edition gives every user a fixed View data behavior, so it cannot restrict which tables a group reads. Before you plan a Metabase rollout around per-table restrictions, read the Metabase open source permissions limits guidance and confirm the edition and plan you will run.

Work through the settings in a fixed order. Metabase advises blocking the All Users group's access to a database in Admin > Permissions > Data before granting access to any other group. Every user belongs to All Users, so a database left open there can be read by people who should not see it, regardless of the narrower groups you add. Once All Users is blocked for the sensitive database, grant each team the access it needs, then set Create queries and Download results separately. Treat Download results as its own decision, because a group that can view a table can often export it to a spreadsheet unless you withhold that permission.

Before rollout, test with a few non-administrator accounts in each group and confirm what each one can open, query and export. Check the Admin > Permissions > Data view for the group after each change, and record who approved each grant. Ask your vendor or partner to confirm, in writing, which permission levels your chosen plan supports for each table, since levels such as granular, blocked and impersonated behave differently and need the checks described in the other sections of this page.

What View data, Create queries and Download results control

Metabase separates what a group can see, what it can build and what it can export. The three families interact per group and per table, so a setting that looks open in one can still leave a gap in another. Each card below covers one of these controls or a check to run before you rely on them.

View data sets what appears

View data decides whether a group can open tables from a database in dashboards and saved questions. Permissions are set per group and per table in Admin > Permissions > Data. Confirm first which level each group holds for each database, because a dashboard built by someone else still runs under the viewer's own access. Test with a non-admin account in each group before you hand the setup to users.

Data permissions docs

Create queries controls building

Create queries governs whether a group can build new questions, either through the query builder or with native SQL. Separating this from View data lets a team read approved dashboards without writing its own queries against production tables. Decide who needs native SQL, since it can reach any table the connection allows, and check that the setting is applied to each table you intend to restrict.

Download results is a separate control

Download results controls whether users can export query output as a file. A group can view a table and still be unable to export it, which matters for personal data and financial records. Check this setting independently, because an export of a result set can carry more rows than a dashboard shows.

Block All Users before granting access

Metabase advises blocking the All Users group's access to a database in Admin > Permissions > Data before granting access to other groups. Every account belongs to All Users, so an open default there can undo narrower grants elsewhere. Make this the first change in a new instance and verify it by signing in as a user who is only in a restricted group.

Confirm how multiple groups combine

Users often belong to several groups, so the effective access depends on how Metabase resolves conflicting settings. Do not assume the most restrictive setting wins for every control. Confirm the behavior in your Metabase version using a test instance with two groups that grant different levels, then record the result in your permissions runbook.

Know which levels need Pro

The View data levels Granular, Row and column security, and Impersonated are part of the paid permissions feature set, while the open source edition offers fixed View data. Confirm which control levels your edition exposes before designing the group model, since a design that depends on row-level restrictions will not work on the free plan. Ask Metabase which plan your permissions requirements need.

Metabase pricing

View data levels and when each one fits

This table compares the five View data levels in Metabase: Can view, Granular, Row and column security, Impersonated and Blocked. Read each row for what the group can do, which plan includes it, and the situation where it usually fits. Note that View data permissions are a Pro and Enterprise feature, so open source deployments work with the fixed access model instead.

LevelWhat the group can doPlan requiredTypical use case
Can viewQuery the table with the access the level grants, without per-row or per-column restrictionsPro or EnterpriseTeams that may see the whole table, such as a shared reporting group
GranularReceive access that is set per table within a database, instead of one setting for the whole databasePro or EnterpriseGroups that need different tables in the same database, such as finance seeing ledgers but not HR tables
Row and column securityReceive access filtered by row or column rules defined for the table, so some records or fields are hiddenPro or EnterpriseMulti-region or multi-business-unit data in one table where each group should see only its slice
ImpersonatedRun queries as a database role mapped from the user, so the database enforces the accessPro or EnterpriseTeams that want database-side enforcement and already manage roles in the warehouse
BlockedHave no access to the database through Metabase, so queries and browsing are refusedPro or EnterpriseBlocking the All Users group first, then granting access to specific groups
Open source editionView data is fixed and cannot be set per group, table or rowOpen Source (no View data control)Small teams where every user may see the same data, with database-side controls if needed

Configuring data permissions in the right order

This sequence closes access to the database for everyone by default, then opens it group by group, so each permission is set on purpose and can be checked before the configuration is recorded for audit.

  1. Inventory existing groups and the All Users group

    Before changing anything, the administrator lists every group in Admin > People and records which members each one holds, including any users who sit in more than one group. The administrator also opens Admin > Permissions > Data and reads the current settings for the All Users group on each database. Everyone in Metabase belongs to All Users, so any access granted there applies to every person in the instance, including people added later. The step is done when the administrator has a written list of groups, members and the current All Users settings for each database, which becomes the baseline for the rest of the work.

  2. Block All Users on each database

    In Admin > Permissions > Data, the administrator sets the All Users group to Blocked for each database that holds governed data, before any other group receives access. Metabase's data permissions guidance recommends this order so that no group inherits broad access by accident while the rest of the setup is in progress. The administrator then signs in as a user who belongs to All Users only and confirms that the database no longer appears in the data picker or returns results. The step is done when that test user is shut out of every governed database.

  3. Define the permission matrix by group

    The data owner and the Metabase administrator agree on a table that maps each group to the databases, schemas and tables it needs, and to the three settings for each: View data, Create queries and Download results. Teams often start from the job each group performs, such as finance reporting or support operations, and then remove anything that is not needed. Where a table holds sensitive columns, the matrix should say whether the group needs the whole table or whether that is a case for a different isolation method, which is covered on another page in this group. The step is done when the matrix is signed off by the data owner and nobody is relying on a verbal agreement.

  4. Assign View data, Create queries and Download results per group

    For each group, the administrator opens Admin > Permissions > Data, selects the database and sets View data and Create queries for the group. On the open source edition, View data is fixed and cannot be narrowed to rows or columns, so the granular choices described in the data permissions documentation apply only on Pro and Enterprise plans. Download results is then set according to the matrix, and per-table overrides are used only where a group's needs differ from the database-level setting. The step is done when every cell in the matrix matches the setting in the Metabase admin, and the administrator has exported or screenshotted the result for the record.

  5. Confirm access with a test user from each group

    The administrator creates or uses a non-admin test account in each group and signs in as that user, one group at a time. For each test user, the administrator checks which databases and tables appear in the data picker, runs a saved question that should succeed and one that should be refused, and attempts a CSV or Excel download where the matrix allows it or blocks it. Results are compared against the matrix, and any mismatch is traced back to a group membership, a per-table override or a collection setting. The step is done when every test user's observed access matches the matrix, and failures are fixed and retested rather than explained away.

  6. Record the configuration for audit

    The administrator saves the final permission matrix, the list of group memberships, the All Users settings and the test results in a location controlled by the security or compliance team, with the date and the name of the person who made the changes. Each later change to a group, a database setting or a membership is logged in the same place, so the record reflects what the instance does at any point. Activity logs and any available permission review exports should be checked against the matrix on a schedule the organization sets. The step is done when a reviewer who did not take part can reconstruct who can see which data, and why, from the written record alone.

Why blocking the All Users group first prevents accidental exposure

Blocking the All Users group's access to a database before granting anything to other groups is the safest order of operations in Metabase data permissions, and the Metabase data permissions documentation advises exactly this. The reason is inheritance. Every new user joins the All Users group automatically, so any access granted there, even a generous View data setting on one schema, reaches every account that exists now or is created later, including accounts that were never meant to see that database. Starting from a blocked All Users group means that a mistake in a later grant can only widen access for the group you intended.

Work through the change in Admin > Permissions > Data. Set All Users to Blocked for each database, then review every database and every table individually, because a setting applied at the database level does not guarantee the table-level view you expect. Record what each group can see before and after the change so you can show a reviewer the difference. Pay particular attention to databases added recently, databases that were synced after an earlier permissions review, and sample or demo connections that may have been left in place from initial setup.

Confirm the inheritance behavior in a test instance before relying on it in production. Create a throwaway user, add that user to no groups beyond All Users, and check which databases and tables appear in Metabase for that account. Then add the user to a narrower group and repeat the check. Because the exact behavior depends on your Metabase version and on the permission levels you set, verify it yourself rather than assuming it, and keep the test account and its results as evidence for your access review.

How granular, blocked and impersonated levels behave

Granular access sets View data per table and, where configured, per column, so one group can see some objects in a database and not others. In the group's Data permissions grid, the reader sees a row for each table, and each row carries its own setting. This suits analysts who write SQL against a stable schema and teams that need a few exceptions to broad access. Granular controls which objects a group can reach. It does not filter which rows a person sees, so row-level filtering needs row and column security, which is part of the Pro and Enterprise plans.

  • Per-table map: Each table needs a deliberate setting for every group that uses the database.
  • Column settings: Use column-level controls to hide sensitive fields inside an otherwise visible table, and confirm how your version handles them.
  • Sync drift: New tables and columns that appear after a sync may take a default setting, so review permissions after every schema change.
  • Query writing: Confirm how Create queries interacts with table-level settings in your version before granting SQL access to a granular group.
  • Plan requirement: View data permissions are a Pro and Enterprise feature, so confirm the plan before designing around granular settings.

Before you rely on granular settings, check the table and column grid for each group against the schema, and confirm the defaults for newly synced objects in your version.

How a user's group settings resolve to what they can do

The decision starts when a user signs in and Metabase collects every group they belong to, including All Users. For each database, Metabase checks the View data setting first, then the table-level or granular rules, and then whether the user may Create queries and Download results. Any blocked level ends the path early, so a permissive group does not override a stricter one. Verify this path in your own instance by testing one account per group and confirming what it can open, query and export.

Decision path for resolving group permissions on a database, to verify in your own instance.

Security risks to review in data permission design

Data permissions fail in a few predictable places: broad group grants, raw SQL that bypasses what dashboards hide, exported results, and access that drifts as new tables arrive. Each risk below has a check you can run before go-live and repeat on a schedule.

Broad grants to All Users

Every Metabase user belongs to the All Users group, so a grant made there applies to everyone, including people added later. Before granting access to other groups, review what All Users can view in Admin > Permissions > Data and block it for databases that hold sensitive data. Then grant access only to the specific groups that need it. Check the setting after each new database is connected, because a default that looked safe during setup can widen access later.

Data permissions docs

Raw SQL reaching hidden tables

A user with Create queries can write native SQL against any table their View data level allows, including tables no dashboard or saved question exposes. Hiding a table from a dashboard does not restrict it. For each group with Create queries, list the tables it can reach through SQL and decide whether that matches the intent. If the group must not write SQL, remove Create queries for it on the sensitive database.

Sensitive results leaving through downloads

The Download results permission controls whether a user can export query output as a file. A dashboard that shows only aggregated figures can still be exported in full if the underlying question returns row-level detail. Review download rights for groups that can see personal or regulated fields, and remove them where people only need to view results on screen. Confirm that exports are not copied into shared drives or chat tools by default.

Permission drift as tables sync

New tables and columns appear when Metabase syncs a database, and the permissions you set for an existing table do not describe a table that did not exist yet. Schedule a review after each sync that adds schemas or tables, and check which groups can see the new objects. Look especially at columns with names like email, salary or diagnosis, since a broad group grant may now reach them.

Unreviewed group membership

Permissions are only as current as the group list behind them. People change roles, leave projects and keep old group memberships unless someone removes them. Run a periodic review of each group's members against the current roster, and remove accounts that no longer need access. Record who approved each group and its data rights so the review has a clear owner.

Confirming audit logging for the plan

An access review is only as strong as the record of who queried what. Usage analytics and auditing are listed as Pro and Enterprise features, so an open source or Starter deployment may not produce that record in Metabase. Confirm with Metabase which activity logs your plan includes, and where your own database and reverse proxy logs fill any gap. Tie each review to that trail before you sign off a group.

Metabase pricing

Questions buyers ask about Metabase data permissions

Do I need a paid Metabase plan to set up data permissions?

Yes, if you want View data permissions per group and table. View data permissions are a Pro and Enterprise feature, so the open source edition cannot restrict them at that level. The Metabase pricing page lists Pro at $575 per month, or $517.50 per month billed yearly, with the first 10 users included and additional users at $12 per month. Enterprise is priced by quote, starting at $20,000 per year. Check the current figures on the Metabase pricing page before budgeting, because plan terms can change. Open source remains free to run, but it does not give you granular data controls.

How long does Metabase data permissions setup take?

The duration depends on how many databases, schemas and tables you need to govern, how many groups must be defined, and how deep the review goes. A single database with a few clearly separated teams is far simpler than a warehouse with sensitive tables across many departments. Review depth matters most: deciding which tables hold personal or regulated data, and confirming with each owner who should see them, takes longer than clicking the settings. Ask any partner for a duration tied to a written list of databases, groups and tables, and to the testing you expect to see before sign-off.

What does my team need to provide for the permissions work?

Three things make the work move quickly. First, a named data owner for each database who can say which tables and columns each team may read. Second, a group mapping that lists which people belong in which Metabase group, ideally taken from your identity provider or HR records. Third, test accounts, one per group, so you can confirm what each role sees before real users log in. Without owners, decisions stall; without test accounts, mistakes are found by users instead of by the reviewer.

Can an internal team set up Metabase data permissions without a partner?

Yes, an internal team with administrator access can configure permissions in Admin > Permissions > Data. The main risk is the sequence. Metabase advises blocking the All Users group's access to a database before granting access to other groups, because All Users otherwise keeps access that the new group settings will not remove. Teams that lack an owner for each database, or that have no way to test each role, tend to discover gaps after launch. Your team should also confirm which features your plan includes before assuming a control exists.

What would an outside partner scope in a fixed-scope permissions engagement?

A fixed-scope engagement is agreed in writing before work starts, so the scope should name the deliverables. A typical scope for this topic includes an inventory of databases and tables, a group design, the sequenced permission settings (starting with the All Users block), verification with test accounts for each group, and a handover document that explains who owns each decision. Ask for the list of databases and groups in scope, the testing method, whether permission settings are exported or documented, and what happens if a later review finds an error. DeployOpen plans and implements this kind of work inside your own infrastructure and provides a quote from the written scope.

Which permission levels can I test before rollout?

Test every level your plan supports, including the blocked state, because blocked access is the first thing a user will notice when it is wrong. Use one test account per group, log in as that account, and check which tables appear, whether queries run, and whether results can be downloaded. Repeat the check after any change to group membership. Record what each test account sees so a later reviewer can repeat the same checks. Confirm the exact behavior of each level in the Metabase data permissions documentation for your version.

Does the permission setup create an audit trail for reviewers?

Permission settings are configuration, so you should document them yourself rather than assume a record exists. Export or screenshot the settings for each group and database at sign-off, and store the test results with them. Confirm with your compliance team which evidence they need, and whether your plan includes the usage analytics and auditing features that are reserved for Pro and Enterprise. Do not treat a configured permission as proof of control until someone has tested it and recorded the outcome.

How DeployOpen scopes data permission work

DeployOpen plans, implements and documents self-hosted Metabase inside your own infrastructure, so the permission model is designed against your real databases, groups and review requirements rather than applied as a generic template. The first step is agreeing scope in writing: which databases are connected, which groups exist or will be created, which tables hold sensitive data, and which of the three data permission levels (View data, Create queries and Download results) each group needs. The written scope also records whether the blocking of the All Users group in Admin > Permissions > Data is part of the work, since that change affects every account in the instance and should be signed off by the people who own the data.

Because most engagements are fixed-scope, the deliverables are named before work begins. For this topic that typically means a permission matrix mapping each group to each database and table, the configuration applied in the instance, a short test plan that signs in test accounts from each group and checks what they can see and download, and documentation your administrators can use later. Where you are deciding between granular, blocked and impersonated levels, or whether a paid plan is needed for them, the scope should say so explicitly, because those options are not available on the open source edition. Confirm current plan requirements on the Metabase pricing page before the scope is signed.

Testing and ongoing support can be added to the agreed scope. A one-time verification pass confirms that permission changes behaved as written, and a retainer can cover upgrades, periodic access reviews and retesting after new groups or databases are added. Ask any provider for a written scope, a named list of deliverables and a clear statement of what is excluded, such as data warehouse changes or identity provider configuration. DeployOpen does not publish a price list, so the cost follows from that written scope, and you should compare quotes on the same deliverables.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.