Product permissions

Turn roles into product behavior

Define who can do what. Your backend enforces it. Your UI reflects it.

Account models

Pick how customers are organized.

Roles stay scoped to an app environment. Call a shared space whatever your product calls it.

What do you call a shared space?

App accounts without a required shared space. New signups get the default role you choose.

  • MMaya OkaforPublisher
  • SSam RiveraReader
  • LLee ChenReader

Default signup role: Reader

Customer companies group their people. Each person holds a product role.

Acme

  • MMaya OkaforPublisher
  • SSam RiveraReader

Northwind

  • LLee ChenReader

Teams work in workspaces. Add existing users and assign a product role in each one.

workspace

Design Studio

  • MMaya OkaforPublisher
  • SSam RiveraReader

workspace

Archive

  • MMaya OkaforReader

Companies hold workspaces, and permissions apply inside each one.

Acme

workspace

Design Studio

  • MMaya OkaforPublisher
  • SSam RiveraReader

workspace

Archive

  • MMaya OkaforReader

Northwind

workspace

Field Ops

  • LLee ChenReader

Illustration. The model is set per app environment.

Roles and permissions

From role to behavior

Roles inherit: Publisher includes Reader. Permissions, features, and settings resolve together.

1 · Product roles

Reader and Publisher

  • PublisherInherits everything Reader can do, and adds more
  • ReaderCan open the Design Studio workspace

2 · What a role grants

Permissions, features, settings

  • Permissions: open a workspace, switch workspaces, publish notes, export
  • Feature grants: a display preset
  • Settings: non-secret configuration

3 · Effective access

What your product receives

  • Roles and permissions
  • Feature grants
  • Configuration for the selected environment and scope

Walk through it

Revoke a role. Refresh. Watch it go.

A Reader opens the workspace. A Publisher can also switch workspaces, publish, and export. Revoke Publisher in Keyrox, refresh the session, and the controls disappear on the next live check.

  1. 1Revoke the Publisher role in Keyrox
  2. 2Field Notes still shows the last result
  3. 3Refresh the session to apply the next live check
Field Notes MMaya Publisher
Design Studio
  • Interview notes: onboardingPublished
  • Sketch review, round 2Draft
  • Release checklistDraft
Session checked with Keyrox: Publisher
Keyrox · Field Notes · production
M
Maya OkaforDesign Studio
Publisher
Roles
Publisher, Reader (inherited)
Permissions
Open workspace, switch workspaces, publish notes, export
Display preset
Studio

Field Notes owns the screens, session, and note data. Keyrox manages identities, workspace access, and effective permissions. Its local integration tests use recorded mail and a controlled SSO provider.

Enforcement

Ask Keyrox. Enforce in your product.

Keyrox resolves the answer. You own the decision.

Ask for effective access

Your backend asks for roles, permissions, feature grants, and configuration for the environment and scope.

POST/v1/apps/{appId}/environments/{environmentId}/access

Enforce the decision

Your backend decides. Keyrox never takes over your session or your data.

Reflect it in the UI

Show or remove controls from the same result, so the screen and the backend agree.

Tokens and live checks. A token can carry a permission snapshot, and an offline signature check follows the verifier’s validity rules. If a role change must apply on the next request, use the live check. Revocation-aware validation and recomputing permissions are separate checks.

Teammates and environments

Delegate safely.

Each environment has its own directory and credential. Grant Design or Runtime access per environment. Production eligibility is separate.

development

Build and test freely

  • Its own product directory
  • Its own environment credential, kept on your server
  • Design or Runtime access, granted per teammate
staging

Rehearse with the real rules

  • Its own product directory
  • Its own environment credential
  • Give a developer access here without touching production
production

Limit who can administer it

  • Its own product directory and credential
  • Production eligibility is controlled separately from Design and Runtime
  • Support teammates can get read access where needed

Keyrox tenant

A Keyrox tenant owns app registrations and teammate permissions. A Keyrox teammate role governs management of Keyrox and its app environments, which is separate from the product roles your customers hold.

Teammates

Verified Keyrox accounts can accept tenant invites. Existing users can be added to workspaces, and app applicants can be admitted to signup.

Operate access over time

Find out why. Fix the right thing.

See a customer’s memberships, effective role, and next live access result. Then change the assignment.

  • Review memberships and effective roles

    See who belongs where, and what it adds up to.

  • Change grants

    Adjust roles, permissions, and feature grants.

  • Rotate credentials

    Replace environment and service credentials on your schedule.

  • Revoke access

    Remove a role or grant. It applies on the next live check.

  • Inspect recorded audit events

    See what changed, and when.

Next

Now give agents the keys.

A worker or an agent gets its own identity and only the access it was approved for.