[Story] Share outbound connections with people and teams
Author: sfmskywalkerCreated Sep 28, 2026Updated Sep 28, 2026
Labelsenhancementprio lowelsa 3triaged
Program: #8194 Parent feature: #8221
Outcome
A host can share a named outbound connection with specific people or teams, not only with an exact workflow instance. The share is scoped, revocable and default-deny, and it is rechecked on every use.
Context
#8345 closed with exact-instance workflow-use grants:
- durable grants that survive a persisted restart
- a separate default-deny host decision for each of management, metadata inspection, sharing and use (#8406, #8423, #8519)
- a recheck after a grant is withdrawn, rebound or disconnected
It did not add person or team delegation. The maintainer decided on 2026-09-28 that this capability should be shaped by real sharing needs from the Slack pilot (E4–E9), not designed ahead of them.
Acceptance (to refine with the pilot)
- Define who a share can target (user, role, team), using identities that Elsa Identity actually models. Do not invent a team model.
- A share never implies management, inspection or credential use. Each decision stays separate and default-deny.
- Revoking a share takes effect on the next use. It does not retroactively cancel provider calls that were already admitted.
- Tenant and environment isolation is covered by tests. No token or secret value appears in share records, logs or exports.
Blocked by
- The Slack pilot's first concrete sharing scenario.
No package publication, production activation or provider credential use is authorized by this story.
Source: elsa-workflows/elsa-core