SkilldexAll articles

Bind skill resource IDs to a tenant

Protect multi-tenant integrations when display names and local identifiers overlap.

An integration can use valid identifiers and still act on the wrong collection if scope is implicit. The calling application should establish the active tenant from its trusted context and validate each requested target against that tenant before exposing information or making changes.

Use complete resource references internally

Store the parent tenant or collection along with the record identifier. If the API uses hierarchical resource names, follow its canonical naming rules. A display name may help users choose but should be resolved to a scoped identifier before the workflow performs a targeted action.

Validate every entry point

Apply authorization to reads, writes, and status calls. A cached list result from another tenant should not authorize a follow-up read. Derive credentials and policy inputs from the current connection. If the user can legitimately switch tenants, confirm the newly active scope before executing any pending action tied to the former one.

Exercise overlapping IDs

Create a test data set that deliberately reuses common labels and local record numbers across tenants. Assert that a denied request causes no downstream change and that the error response reveals only information appropriate to the caller. Include a delayed callback in the fixture when operations continue after the initiating request.

Sources