Auditing onboarding prompts after a workspace role changes
When a user’s role shifts—from viewer to editor, for example—the prompts they see should reflect the new permissions. If the old prompts remain, users encounter steps they cannot complete, which erodes confidence in the onboarding flow.
Map role-based prompt groups
List every role in the workspace and the corresponding tour script each role should see. A common pattern is to have a default script for all users and additional scripts that activate only when a specific role is active.
Trigger a role change and observe
Switch the test account to the new role, then start the onboarding tour. Note which steps appear, which are skipped, and whether any step references a permission the new role does not have. Record the behavior for each role transition.
Adjust script conditions
Edit the tour script to add or remove role checks. Most systems allow a simple condition such as "if role is editor, show step X; otherwise hide it." Apply the change, then repeat the role-switch test until every role sees the correct set of steps.
Worked example
A contributor role was upgraded to editor. The original tour included a step "Invite a teammate" that required editor-level permissions. After the role change, the step disappeared because the system checked for editor status and found none.
| Role | Before change | After change |
|---|---|---|
| Contributor | Step visible | Step hidden |
| Editor | Step visible | Step visible |
Updating the script condition to "if role is editor" restored the step for the new editor role. Verify this by switching a test account to editor and observing that the prompt now appears.
Confirm no stale permissions remain
After all role changes are processed, run a final audit of the tour list. Remove any step that references a permission no longer assigned to any active role. This prevents future confusion when roles are updated again.
Summary
Auditing prompts after a role change involves mapping roles to scripts, testing the transition, and adjusting conditions. This keeps the onboarding experience relevant as teams evolve.
Related: Onboarding Tours features.
