Roles & Permissions

Built-in roles, what each one can do, custom roles, and API key permissions.

Every member of an organization has a role. The role decides what they can see and change in the organization’s projects, and whether they can manage the organization itself.

Permissions apply to every project in the organization. In your personal workspace, you always have full access to your own projects.

Built-in roles

RoleFor
ViewerPeople who only need to look at analytics. Read-only access to every project.
EditorPeople who build things. Create and edit projects, dashboards, charts, and more.
AdminPeople who run the organization. Everything an Editor can do, plus deleting data and managing members, invitations, roles, and settings.
OwnerEverything an Admin can do, plus moving projects, transferring the organization, and deleting it.

The person who creates an organization is its Owner. Built-in roles can’t be edited or deleted.

Permissions

Each permission is an action on a resource. This table shows what each built-in role can do.

ResourceViewerEditorAdminOwner
ProjectsCreate, EditCreate, Edit, Delete, ExportCreate, Edit, Delete, Export, Move
DashboardsViewAllAllAll
InsightsViewAllAllAll
Session replaysViewView, EditAllAll
Web vitalsViewViewViewView
Error trackingViewView, EditAllAll
Data sourcesViewView, Create, EditAllAll
Download analyticsViewAllAllAll
Network rulesViewViewAllAll
Feature flagsViewAllAllAll
Feature flag evaluationsEvaluateEvaluateEvaluate
SegmentsViewAllAllAll
Source map uploadsUploadUploadUpload
Event explorerViewViewViewView
API keysAllAllAll
OrganizationEditEdit, Delete
InvitationsCreate, CancelCreate, Cancel
MembersEdit, RemoveEdit, Remove
RolesAllAll

All means every action the resource has. Some things in FastStats are covered by another resource’s permissions:

  • Insights cover charts, funnels, Sankeys, retention, paths, and event markers
  • Dashboards also cover notebooks and folders on the Dashboards page

When you don’t have permission for an action, FastStats shows it with a lock icon. Hover it, or tap it on mobile, to see why it isn’t available.

Custom roles

If the built-in roles don’t fit, Admins and Owners can create custom roles from the Roles tab of the organization:

  1. Click Create custom role
  2. Enter a name. Names are lowercase; spaces are turned into hyphens
  3. Tick the permissions the role should have, per resource and action
  4. Click Create role

Custom roles show up next to the built-in ones when you invite someone or change a member’s role. Edit or delete a custom role from its row on the Roles tab.

There’s no permission to add members directly. People only join through invitations, so a custom role can grant Create on invitations instead.

API keys

API keys let scripts and services call the FastStats API with the x-api-key header. There are two kinds:

KindCreated inPrefixCan accessRate limit
Organization keyThe organization’s API keys tabfs_org_Projects in that organization1,200 requests/min
Personal keyYour account settingsfs_user_Projects in your personal workspace600 requests/min

When you create a key, you choose:

  • Permissions: pick them individually, or start from a preset (Read-only, Editor, Admin, or Full access) and adjust
  • Project access: all current and future projects, or only the projects you select
  • Expiration: a number of days, or never

An API key can never do more than the person who creates it. You can only grant a key permissions that you have yourself, and only give it access to projects you can access. To create a key with broader access, ask someone whose role has that access.

The key is shown once, right after you create it. Copy it and store it somewhere safe.

The API keys tab is only visible to members whose role can view API keys. Editors, Admins, and Owners can create and revoke organization keys by default.