flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Organisation level integrations

Open kyle-ssg opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe.

Some integrations should be able to be enabled at the organisation level so that they don't have to be created per project.

Describe the solution you'd like.

  • Configure integration remote config project_integration: true organisation_integration:true
  • Allow integrations to be viewed / created at the organisation level

Describe alternatives you've considered

Add a switch in the project integrations config, this seems quite convoluted

Additional context

No response

kyle-ssg avatar Jul 31 '24 11:07 kyle-ssg

Backend related PR https://github.com/Flagsmith/flagsmith/pull/4400

kyle-ssg avatar Jul 31 '24 11:07 kyle-ssg

ghcr.io/flagsmith/flagsmith-api:pr-4400 Docker image is available for testing the backend.

You can use the /api/v1/organisations/{org_id}/integrations/grafana analogous with the project-level one.

khvn26 avatar Jul 31 '24 14:07 khvn26

I propose the new keys to be named perProject and perOrganisation for consistency's sake.

For backwards compatibility, consider assuming perProject to be true if it's not included.

khvn26 avatar Aug 22 '24 10:08 khvn26

@kyle-ssg The backend for this is now in staging.

khvn26 avatar Aug 29 '24 11:08 khvn26