getWorkspaceCapabilities

Function

DEPRECATED: Return the capabilities that are granted to the current user for a given entity This is used by the Hub Components to determine which Workspace Navigation Links to show

Parameters

Parameter Type Default Notes
entity Required HubEntity
context Required IArcGISContext

Returns

Property Type Notes
details ICapabilityAccessResponse[]

Detailed checks for each capability. Used for observability

granted Capability[]

Array of capabilities the current user has access to, in the context of a given entity


Function defined in common/src/capabilities/getWorkspaceCapabilities.ts:35