permissions

getEffectivePermission

Compute a user's effective permission level on a resource (taking team grants, inheritance, and 3-state overrides into account) and the source. Asking about another user requires can_manage_perms on the org. Use when the user asks 'can X access this', 'what level of access does X have', 'why can X see this', or to debug an unexpected permission outcome.

post/tools/getEffectivePermission

Request

  • Base URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1
  • URL: https://api.stablebaseline.io/functions/v1/cloud-serve/api/v1/tools/getEffectivePermission
  • Auth: HTTP bearer

Request body

user_idstring required

UUID of the user to check

resource_type'workspace' | 'project' | 'folder' | 'document' | 'improvement' | 'plan' required
resource_idstring required

Response

Tool result (shape varies per tool — refer to the tool's docs for the exact return value).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.