move acc integration to a per workspace feature access (#5308)

* feat(workspaces): move acc integration to a per workspace feature access
item

* chore(workspaces): remove leftover todo
This commit is contained in:
Gergő Jedlicska
2025-08-26 17:48:00 +01:00
committed by GitHub
parent 8fbe1322e1
commit c353966993
4 changed files with 22 additions and 25 deletions
@@ -24,7 +24,6 @@ export const WorkspacePlanFeatures = <const>{
HideSpeckleBranding: 'hideSpeckleBranding',
ExclusiveMembership: 'exclusiveMembership',
EmbedPrivateProjects: 'embedPrivateProjects',
AccIntegration: 'accIntegration', // TODO: this should be moved to a workspace addon
SavedViews: 'savedViews'
}
@@ -90,10 +89,6 @@ export const WorkspacePlanFeaturesMetadata = (<const>{
displayName: 'Embed private projects',
description: 'Embed projects with visibility set to private or workspace'
},
[WorkspacePlanFeatures.AccIntegration]: {
displayName: 'ACC connector',
description: 'Configure automatic import of ACC assets into workspace projects'
},
[WorkspacePlanFeatures.SavedViews]: {
displayName: 'Saved views',
description: 'Create and share saved views of your models'
@@ -214,9 +209,6 @@ export const WorkspaceUnpaidPlanConfigs: (params: {
WorkspacePlanFeatures.CustomDataRegion,
WorkspacePlanFeatures.HideSpeckleBranding,
WorkspacePlanFeatures.ExclusiveMembership,
...(params.featureFlags?.FF_ACC_INTEGRATION_ENABLED
? [WorkspacePlanFeatures.AccIntegration]
: []),
...(params.featureFlags?.FF_SAVED_VIEWS_ENABLED
? [WorkspacePlanFeatures.SavedViews]
: [])
@@ -232,9 +224,6 @@ export const WorkspaceUnpaidPlanConfigs: (params: {
WorkspacePlanFeatures.CustomDataRegion,
WorkspacePlanFeatures.HideSpeckleBranding,
WorkspacePlanFeatures.ExclusiveMembership,
...(params.featureFlags?.FF_ACC_INTEGRATION_ENABLED
? [WorkspacePlanFeatures.AccIntegration]
: []),
...(params.featureFlags?.FF_SAVED_VIEWS_ENABLED
? [WorkspacePlanFeatures.SavedViews]
: [])