camunda-community-hub / zeebe-client-node-js

Node.js client library for Zeebe Microservices Orchestration Engine
https://camunda-community-hub.github.io/zeebe-client-node-js/
Apache License 2.0
152 stars 38 forks source link

Multi-tenancy for BroadcastSignal #344

Closed jwulf closed 7 months ago

jwulf commented 11 months ago

The Node.js client provides a BroadcastSignalCommand for broadcasting tenant-aware signals in Zeebe. These commands should support multi-tenancy by exposing an optional tenantId property/method.

The following error codes may be returned:

PERMISSION_DENIED (code: 7) when a user attempts to broadcast a signal of a tenant they are not authorized for, when multi-tenancy is enabled. INVALID_ARGUMENT (code: 3) For a provided tenant id, when multi-tenancy is disabled For a missing tenant id, when multi-tenancy is enabled For an invalid tenant id (i.e. doesn't match the pre-defined format), when multi-tenancy is enabled.

jwulf commented 11 months ago

Java client issue: https://github.com/camunda/zeebe/issues/13558

jwulf commented 7 months ago

Now tracked here: https://github.com/camunda-community-hub/camunda-8-js-sdk/issues/47