Skip to content

Role hierarchy

A refusal measured against your own role: you may invite and manage members, but not at or above your own rank.

Field Value
type https://mockhub.dev/problems/role-hierarchy
Status 400 or 403

Roles are ranked, Viewer < Editor < Admin < Owner, and below Owner you can act only on people and roles that rank strictly below yours. An Admin can invite Viewers and Editors, change a Viewer into an Editor and back, and remove Viewers and Editors; only an Owner can create, change or remove an Admin, or make, change or remove an Owner. Nothing was changed.

Status When
400 Inviting someone
403 Changing a member’s role, or removing a member
Action detail
Invite someone to the workspace You cannot invite someone at or above your own role.
Change a member’s role Your role must be higher than both the member's current role and the requested role.
Make someone an Owner, or change an Owner’s role Only an Owner can make someone an Owner or change an Owner's role.
Remove a member Only higher-ranked admins may remove this member.
Remove an Owner Only an Owner can remove another Owner.

The app offers only the roles and members your role allows, so this usually means your role or theirs changed while the page was open.

This type carries no extension members.

{
"type": "https://mockhub.dev/problems/role-hierarchy",
"title": "Beyond your role",
"status": 403,
"detail": "Only higher-ranked admins may remove this member."
}
  1. Reload the Members page to see the controls your role allows now.
  2. For anything at or above your own rank, ask an Owner of the workspace, who can grant and change every role, Owner included.

An Owner holding a token gets Token scope for these instead: a token never holds the Owner role. An Owner steps down by transferring ownership, never by changing their own role.

Report a problem with this page