Roles and Permissions
What the app checks to allow or restrict workspace actions.
In a team workspace, the app uses role information and permissions from the workspace context to decide what UI actions are available.
Workspace context fields used by the app
The workspace context includes fields such as:
account.roleaccount.role_hierarchy_levelaccount.primary_owner_user_idaccount.permissions(string array)
Workspace settings (team workspace)
- The Settings page (
/home/settings) can render in read-only mode for some users. - The app determines whether a user can modify workspace settings via
canModifyWorkspaceSettings(). - The app determines whether a user can edit the workspace name via
canEditWorkspaceName().
Members and invitations (team workspace)
On the Members page (/home/members), the app reads permission flags from account.permissions:
roles.managemembers.manageinvites.manage
The invite button is shown when invites.manage is present.
Social media connections (team workspace)
The app determines whether a user can manage social media connections via canManageConnections().
