Skip to content

Roles and permissions

Every action below is checked by MockHub when it is performed, with the role you hold in the workspace; hiding a control in the app is never the only protection. A role includes everything the roles below it may do. What the roles are for, and how tokens act with them, is in Roles, personal tokens and machine tokens.

A personal token acts with the lower of your role and its own, and cannot change your account. A machine token acts with its own role, and only on projects, mocks and their configuration: everything else in the workspace refuses it, whatever its role.

Identity provider

You canViewerEditorAdminOwner
See the project's signing keys and identity-provider mocksYesYesYesYes
Preview and add identity-provider endpoints from a presetNoYesYesYes
Rotate the project's signing keys1NoNoYesYes

Packs and fixtures

You canViewerEditorAdminOwner
See reusable packs and saved fixturesYesYesYesYes
Save and delete private pack versions2NoYesYesYes
Preview and install a reusable pack3NoYesYesYes
Save, capture, edit, delete and apply named fixturesNoYesYesYes

Projects

You canViewerEditorAdminOwner
See projects, their settings and their configuration documentYesYesYesYes
Create projects4NoYesYesYes
Rename a project, or change its description or subdomain5NoYesYesYes
Apply a configuration document to a project6NoYesYesYes
Change a project's settings: logging, templating, gateway mode and upstreamNoNoYesYes
Check what the saved CORS setting grants a browser request with Check browser accessYesYesYesYes
See a project's gateway access and the names of its access keysYesYesYesYes
Make a project private or public, change its allow-list, and create or revoke access keys7NoNoYesYes
Delete projectsNoNoYesYes

Mocks

You canViewerEditorAdminOwner
See mocks and their version historyYesYesYesYes
Test a mock with Try it, and test which response a request is answered byYesYesYesYes
Test a request against the project’s mocks with Test a requestYesYesYesYes
Create, edit and delete mocksNoYesYesYes
Activate, deactivate or delete several mocks at onceNoYesYesYes
See the tags a project's mocks carryYesYesYesYes
Add and remove tags on several mocks at onceNoYesYesYes
Restore an earlier version of a mockNoYesYesYes
Import mocks from a HAR file, a Postman collection or curl outputNoYesYesYes
Scaffold a REST resource as mocks over a data store collectionNoYesYesYes
Generate mocks with AINoNoYesYes
Read the assistant's proposalsYesYesYesYes
Ask the assistant, and apply, discard or revert its proposalsNoYesYesYes
Have the assistant try to fix a proposal's failed checksNoYesYesYes

OpenAPI contracts

You canViewerEditorAdminOwner
Start a probe of the mocks for requests they should refuseNoYesYesYes
Read what a probe showedYesYesYesYes

Scenarios

You canViewerEditorAdminOwner
See scenarios and their statesYesYesYesYes
Create, edit and delete scenarios, and set or reset their stateNoYesYesYes

Data store

You canViewerEditorAdminOwner
See and export a project's data store and its recordsYesYesYesYes
Add, change, delete and import recordsNoYesYesYes
Clear a collection or the whole storeNoYesYesYes

Chaos

You canViewerEditorAdminOwner
See chaos profilesYesYesYesYes
Activate and deactivate chaos profilesNoYesYesYes
Create, edit and delete chaos profilesNoNoYesYes

Traffic

You canViewerEditorAdminOwner
See request logs, and follow them liveYesYesYesYes
Find out why a logged request matched no mock8YesYesYesYes
See insightsYesYesYesYes
See captures, and compare a capture with its mockYesYesYesYes
Forget an endpoint in insightsNoYesYesYes
Turn captures, logged requests and unmatched endpoints into mocksNoYesYesYes
Delete request logsNoYesYesYes
See alert rulesYesYesYesYes
Create, edit and delete alert rulesNoNoYesYes
See what an alert rule's webhook sentYesYesYesYes
Replay an alert rule's deliveryNoYesYesYes
See or rotate an alert rule's signing secretNoNoYesYes

Webhooks

You canViewerEditorAdminOwner
See webhooks and their deliveriesYesYesYesYes
Send a test webhook, and replay a deliveryNoYesYesYes
Receive the project's inbox posts on your machine with mockhub listenNoYesYesYes
Create, edit and delete webhooks, and rotate their signing secretsNoNoYesYes
See a webhook's signing secretNoNoYesYes

Custom domains

You canViewerEditorAdminOwner
See custom domainsYesYesYesYes
Add, verify, change and remove custom domainsNoNoYesYes
Choose the workspace's default domainNoNoYesYes

Workspace and team

You canViewerEditorAdminOwner
See the workspace, its members, its plan and its usageYesYesYesYes
Ask an Owner for an upgradeYesYesYesYes
Leave the workspace9YesYesYesYes
Invite people, and resend or cancel invitations10NoNoYesYes
Change members' roles11NoNoYesYes
Require two-factor authentication of membersNoNoNoYes
Read the workspace two-factor requirement and enrollment countsNoNoYesYes
Rename the workspaceNoNoYesYes
See the alert email addressesYesYesYesYes
Add, resend or remove alert email addressesNoNoYesYes
Read the workspace's activityNoNoYesYes
Choose a plan, pay, and see invoicesNoNoNoYes
Take back a cancellation before it takes effectNoNoNoYes
Upgrade a paid plan to a dearer oneNoNoNoYes
Start the Pro trialNoNoNoYes
Buy and change add-onsNoNoNoYes
Choose the billing contact12NoNoNoYes
Transfer ownershipNoNoNoYes
Delete the workspaceNoNoNoYes

Tokens

You canViewerEditorAdminOwner
Create, see and revoke your own personal tokens13YesYesYesYes
See, create and revoke machine tokensNoNoYesYes
See and disconnect every member's connected AI assistants14NoNoYesYes
Run, finish and cancel application verification runsNoYesYesYes
Read verification runs and their reportsYesYesYesYes

Notes

  1. A human member or their personal token only.
  2. Private packs require a human member or their personal token.
  3. Changes to settings, chaos profiles or webhooks require Admin. Machines can install starter packs only.
  4. Machine tokens cannot create projects, whatever their role.
  5. Archiving and restoring a project goes through the same change and needs an Owner.
  6. A document that changes settings, chaos profiles or webhooks needs Admin or higher, as changing them on their own pages does.
  7. A configuration document that changes the access policy needs Admin or higher as well.
  8. Each explanation spends up to six requests of the workspace’s allowance.
  9. Every member can leave but the last Owner and the billing contact. Removing somebody else needs Admin or higher and a role above theirs; removing an Owner needs an Owner.
  10. Below Owner, you can invite people only to roles below your own: an Admin invites Viewers and Editors.
  11. Below Owner, you can change the role only of members below you, and only to a role below your own. Only an Owner makes someone an Admin or an Owner, or changes an Owner's role.
  12. The billing contact is always one of the Owners.
  13. Seeing and revoking other members' personal tokens needs Admin or higher.
  14. Anyone can see and disconnect their own from their profile.

Report a problem with this page