Skip to main content

Overview

useUpdateWorkspaceInheritFlag returns a callable that flips a workspace’s inheritsFromParent flag — the switch controlling whether authority held on an ancestor reaches into this node. See Reach & the wall/door rule. Authorization: owner-only, in both directions. The signed-in user must be this workspace’s own owner or an ancestor owner. No capability grants this. It is additionally blocked when the project sets workspaces.inheritEnforced.

Usage Example

Parameters

string
required
The workspace UUID.
boolean
required
The new flag value — true = open/door, false = sealed/wall.

Returns

Returns the updated Workspace object.

Error codes