Skip to main content

Who can see what

A dashboard that anyone with the URL can read is a screenshot with extra steps. The reason to keep dashboards in a maintained platform rather than in a folder of exported HTML is that the platform remembers who is allowed to open them — and keeps remembering after the person who built them has moved on.

This page maps that model: what it enforces, where it stops, and which parts you can reach from code.

In the app​

An account admin manages members and their roles on the Users page, and groups on the Groups page. A folder's access rights dialog grants a user or a group view, edit, delete or create on the dashboards and datasets inside it. Your agent has the same gestures over MCP: invite_user, update_member, create_group, grant_access, revoke_access and describe_effective_access.

The three roles​

Every membership of an account carries exactly one role:

RoleValueWhat it means
AdminadminBypasses every access-rights check. Manages members, groups and grants.
CreatorcreatorMay create and mutate. Subject to access rights.
ViewerviewerRead-only. Refused on any route that mutates.

Three things about this are worth knowing before you design around it.

The role lives on the membership row, not in the token. The JWT carries no role claim, so every role decision is a database read on the account/user pair. That is a little slower and a lot harder to forge.

It fails closed. A membership whose stored role is unrecognised — a legacy value, a typo — resolves to viewer, not to admin.

Admin is an override, not a top rank. An admin is not "a creator with more grants": the permission check short-circuits to allow before any grant is consulted. You cannot deny an admin out of a folder.

An API key acts as the person who created it

An API key resolves to its creating user, with that user's role. A key minted by an admin is an admin key, and everything below applies to it exactly as it applies to that person in the browser. There is no separate, narrower permission scope for keys, and a key does not expire when its creator's role is downgraded — revoke the key.

Rows are the exception. On a dataset with row rules a key is not its creator: it reads with the group an admin bound it to, and carries no admin override. See API keys: bound to a group.

Twenty-four routes are deliberately closed to keys and need a real browser session: billing and payment (16 of them), API-key management itself, reading your subscription, account deletion, password change, telemetry, and embed-token signing. Everything else accepts a key — including every access-rights, group, folder, dashboard and dataset route.

One deliberate exception. Flipping a dashboard to public is gated by an account switch, apiKeysMayPublish, that defaults to false and can only be turned on by an admin in a browser. So a key — and therefore an agent holding one — can build, publish and share inside your account, but cannot by default be what makes something world-readable. See Publish and share.

Groups​

A group is a named bag of users inside one account. You grant to the group; membership changes without touching the grant.

Two limits, both deliberate:

  • Groups contain users, not other groups. There is no nesting, so there is no group hierarchy to reason about.
  • Reads are open to every member of the account; writes are admin-only. Any member can list the groups and see who is in them. Only an admin can create, rename, delete, or change membership.

Groups are in the SDK:

from vibedasher.models import GroupCreate, GroupUpdate

created = client.groups.create(GroupCreate(name="analytics", description="Read-only analysts"))
client.groups.update(created.group.id, GroupUpdate(user_ids_to_add=["<user-id>"]))

for g in client.groups.list().groups:
print(g.name, g.user_count)
const created = await client.groups.create({ name: 'analytics', description: 'Read-only analysts' });
await client.groups.update(created.group.id, { userIdsToAdd: ['<user-id>'] });

const { groups } = await client.groups.list();

Access rights — the grant is on the folder​

This is the single most important sentence on this page, and the one most likely to surprise you:

A grant names a folder, never an individual dashboard or dataset.

An access right is a row of the shape:

(account, folder, resource type, permission, principal) → allow | deny
  • resource type — dataset or viz. Those are the two a grant can name; see What a grant can name for what governs everything else.
  • permission — view, edit, delete, create.
  • principal — a user or a group.
  • allow / deny — the two access types.

A dashboard is covered by a grant because it sits in the granted folder. Move it to another folder and it is governed by that folder's grants instead. There is no per-dashboard grant to lose track of, which is the good half of this design; the other half is that the folder is the smallest unit you can grant, so a folder you share is a folder you share entirely.

That is not a ceiling on how narrow a share can be​

The sentence above is about the grant, not about the share. A folder is the smallest thing you can name in a grant — and you decide what is in a folder. To share exactly one dashboard, give it a folder of its own, which is three calls your agent already has:

create_folder(name="Q3 board pack")
move_to_folder(resource_type="viz", resource_id=<vizId>, folder_id=<newFolderId>)
grant_access(folder_id=<newFolderId>, resource_type="viz",
principal_id=<userId>, principal_type="user", permissions=["view"])

resource_type is dataset or viz on the move, principal_type is user or group, and access_type defaults to allow — deny is the other value, and it beats every allow.

These three are MCP tools, and the MCP is the supported way to do this. The access-rights routes are deliberately kept out of the published SDK and the API reference — they are access-control plumbing whose shape we have not committed to, so no generated client method exists for them and none should be relied on. create_folder is the one of the three with an SDK twin, client.folders.create.

Moving a dashboard changes which grants govern it and nothing else — the dashboard keeps its id, and its link is unaffected. So "per-dashboard sharing is impossible" is the wrong conclusion to draw from the folder rule: it is three calls, and the folder is how you express it.

Both halves of a dashboard grant​

A dashboard and the data under it are governed by separate resource types, so a share that only names one of them is half done. viz:view lets somebody open the dashboard; dataset:view is what lets its tiles return numbers. The next section is why that is not a detail you can defer.

How a decision is actually made​

In order. The first rule that matches wins:

  1. Admin → allow. Unconditionally, before any grant is read.
  2. The internal system principal → allow. This is the platform's own worker identity (refresh jobs, scheduled runs); it is not an account you can log into.
  3. Ownership → allow. The user who owns the row can always read and change it.
  4. Otherwise, the folder grants decide, and a single deny beats every allow.

Deny-wins is worth stating precisely, because it is narrower than it sounds. A deny removes a folder from the set you were granted — it does not subtract from rules 1–3. You cannot deny an admin, and you cannot deny someone out of a row they own. If your mental model is "deny is the emergency stop", it is not: it is a subtraction inside the grant layer only.

Two behaviours that will bite you​

Grants do not cascade into subfolders. The check is a flat set-membership test on the resource's own folder_id. Folders do have a parent/child relationship, and the UI draws it as a tree — but no authorization code walks it. A grant on Marketing does not reach Marketing / Q3. Grant each folder you mean to grant.

A deny on create beats a creator's own right to create. A Creator may create in the account root and in folders they own, and an explicit allow row grants it elsewhere; an admin's explicit create / deny row overrides both, the same "a single deny beats every allow" rule as view, edit and delete. Admins remain undeniable, as for every other permission here.

Who may change a grant​

An account admin, or the owner of the folder the grant is on. Reading the grants is open to any member of the account: the sharing state is rendered in the app on pages that any member can open, so the read is deliberately ungated. Treat the grant list itself as account-visible information.

What a grant can name​

Two resource types are grantable: viz (dashboards) and dataset. Build a governance model out of those two, held in folders — that is the shape the model enforces and the only shape the dialog offers. POST /v1/access-rights refuses any other resource type with a 400, at the moment you write it rather than at the moment somebody relies on it.

Three things are governed by something other than a grant:

ResourceWhat governs it
FolderAccount membership for reads; role for mutations. A folder is the container a grant names, not a thing a grant is written against.
Refresh scheduleOwnership plus the account boundary.
QuestionOwner-only. A question cannot be shared, by any mechanism.
TaskThe ACL of the dashboard it belongs to.
ConnectionIts owner and the account's admins. Any Creator may create one.

An empty list tells you which kind of empty it is. GET /v1/access-rights/{folder}/{type} carries an enforced flag, so total: 0 for a non-grantable type means no right of this type can exist anywhere, while total: 0 for viz means nobody holds one. Rows written before the refusal are still listed, and still removable, with enforced: false beside them.

Sharing a dashboard without sharing its data does not work​

This is the question the model does not answer the way most people expect, so it is worth one flat sentence: viz:view alone does not give somebody a working dashboard.

A dashboard's tiles fetch their numbers with POST /v1/query, and that route authorizes every participating dataset through the dataset ACL, deny-don't-drop — one dataset the viewer cannot read rejects the whole query with 403 query_dataset_forbidden. It is never executed against the subset they are allowed. So "let the intern see this dashboard but not the data behind it" produces a dashboard whose tiles fail, not a dashboard with the numbers hidden.

Grant dataset:view on the folder holding the datasets as well — viz:view and dataset:view are a pair, and a grant carrying only the first produces a dashboard whose every tile 403s. If the datasets should not be shared wholesale, give them a folder of their own the same way the recipe above does. Or, if the point really is to show a result without handing over the underlying data, publish the dashboard or embed it. Both of those lanes run as the platform's own service identity and never consult this ACL at all, which is exactly why they can show a number to somebody who may not query it.

Checking your own work​

Every field above describes a rule; none of them tells you what a particular person ends up with, and that is not something you can read off the grant list. Rights compose — group memberships, a deny that beats every allow including one inherited through a group, the per-resource-type split, and the separate role gate on mutation — into an outcome no single list shows. The inherited deny is the case that matters: it never appears in the allow list you read, so "why can this person not see it" is unanswerable from the list alone.

GET /v1/access-rights/{folder}/effective?userId= resolves it. For every (resource type, permission) pair it returns what the ACL decides, which rule decided, whether the person's role permits it at all, whether the type is enforced, the product of those — and the access-right row that produced the verdict, which is the id to revoke when the answer is a deny. Your agent has the same thing as describe_effective_access.

It answers the ACL question only, and says so in a caveats list on every response: it cannot see rows the person owns (ownership is per-row and outranks the folder ACL), it knows nothing about the public-viz or embed lanes, and — per the section above — a working dashboard needs rights on its datasets too. You may always ask about yourself; asking about somebody else needs the same standing as changing the ACL, an account admin or the folder's owner.

Reaching this from code​

SurfaceIn the SDKs?
Groups (create, list, update, membership)Yes — client.groups.*
Users (list, update, role, group membership)Yes — client.users.*
AccountYes — client.accounts.*
Access rights (the grants themselves)No

Access rights are excluded from the generated SDK surface, so there is no client.accessRights and no entry for them in the API Reference. The routes exist and accept an API key — they are not part of the published, versioned client contract. Manage grants in the app, or from your agent: the MCP server exposes grant, revoke and list-access-rights tools that call the same routes under your own identity, and inherit the same admin-or-folder-owner rule.

Row-level access​

The folder ACL decides which dashboards and datasets exist for you. Which rows inside a dataset each viewer reads is a separate mechanism, row rules matched against whoever is asking, and it has its own page: Row-level security.

Two-factor authentication​

Email + password is the one way into Vibedasher that rests on a single secret. Google and LinkedIn sign-ins carry their provider's second factor; API keys and the vibedasher login CLI token are not logins at all. So the second factor is opt-in, per user, on the password sign-in only: a six-digit TOTP code from any authenticator app (Google Authenticator, 1Password, Authy, …), enrolled from Settings → Two-factor authentication by scanning a QR code and confirming one code. Turning it on hands you eight one-time recovery codes, shown once — a lost phone is signed in with one of those.

What it changes at sign-in: after a correct password, the browser gets no session — it gets a five-minute, single-purpose challenge that only the code step can redeem. The API never sees that challenge as a credential: it carries an audience the API refuses outright, so it cannot be replayed against api.*.vibedasher.com or dropped into the session cookie. Five wrong codes lock the challenge for fifteen minutes; a code is valid once.

Three limits to know:

  • Enrolment is per person. Each member turns it on for their own account; it is not something an admin switches on for everybody.
  • OAuth sign-ins are never challenged, by design — adding our factor on top of the provider's is friction without security.
  • Lockout is an admin action. A member with no phone and no recovery code asks an account admin, who resets their second factor from the member's page (the action is logged). An owner who is the only admin, with no recovery code, goes through support.

A practical setup​

For a team of ten with a couple of sensitive datasets:

  1. Make the one or two people who administer the account admins. Grants do not govern them, so keep the list short.
  2. Everyone who builds is a creator; everyone who only reads is a viewer. The viewer role is a hard refusal on mutation, so it is a real boundary, not a UI convention.
  3. Put dashboards and datasets into folders that match how you want to share them — one folder per audience, not per topic. The folder is the grant.
  4. Grant to groups, not to people. The grant then survives someone joining or leaving.
  5. Do not create nested folders and expect the parent's grant to reach them. Grant each one.
  6. If members must see different rows of one dataset, give them — or their group — an attribute such as tenant, and put a row rule on the dataset. Bind any API key that reads it to a group.
  7. If a dashboard needs to go to people outside the account, publish it and embed it with a signed token carrying their row filters — do not give them an account.

Reference​