Skip to content

[EPIC] Scope connection definitions by workspace #9652

Closed
@cgardens

Description

@cgardens

Tell us about the problem you're trying to solve

We want to allow different workspaces to do a few different things:

  1. Use different versions of the same connector definitions. (e.g. workspace 1 uses postgres 0.11.1 and workspace 2 uses 0.12.0)
  2. Use different connectors entirely (e.g. workspace 1 has access to custom connector A and workspace 2 doesn't OR workspace 1 has access to alpha connector X and workspace 2 doesn't)
  3. A workspace admin is able to change the connector versions and add custom connectors
  4. An instance admin is able to change connector versions and add connectors for any workspace.
  5. Ability to mark connectors that by default are provisioned to all workspaces
  6. Ability to mark connectors that not provisioned by default but can be provisioned by an instance admin

Describe the solution you’d like

Tech Spec for API changes

Implemented in:

New endpoints added
oss cloud
/v1/source_definitions/list_private ✅ admin only
/v1/source_definitions/list_for_workspace ✅ workspace reader
/v1/source_definitions/get_for_workspace ✅ workspace reader
/v1/source_definitions/create_custom ⛔ unimplemented
/v1/source_definitions/update_custom ⛔ unimplemented
/v1/source_definitions/delete_custom ⛔ unimplemented
/v1/source_definitions/grant_definition ✅ admin only
/v1/source_definitions/revoke_definition ✅ admin only
/v1/destination_definitions/list_private ✅ admin only
/v1/destination_definitions/list_for_workspace ✅ workspace reader
/v1/destination_definitions/get_for_workspace ✅ workspace reader
/v1/destination_definitions/create_custom ⛔ unimplemented
/v1/destination_definitions/update_custom ⛔ unimplemented
/v1/destination_definitions/delete_custom ⛔ unimplemented
/v1/destination_definitions/grant_definition ✅ admin only
/v1/destination_definitions/revoke_definition ✅ admin only

Remaining Tasks

Here are the remaining steps to get scoped connection definitions working in cloud (that should be done in order):

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions