fix(acc): policy and usage in FE

This commit is contained in:
Charles Driesler
2025-08-05 00:52:16 +01:00
parent 4b96a9faeb
commit 6da00d524c
12 changed files with 292 additions and 5 deletions
@@ -22,7 +22,8 @@ export const WorkspacePlanFeatures = <const>{
CustomDataRegion: 'workspaceDataRegionSpecificity',
HideSpeckleBranding: 'hideSpeckleBranding',
ExclusiveMembership: 'exclusiveMembership',
EmbedPrivateProjects: 'embedPrivateProjects'
EmbedPrivateProjects: 'embedPrivateProjects',
AccIntegration: 'accIntegration'
}
export type WorkspacePlanFeatures =
@@ -62,6 +63,10 @@ export const WorkspacePlanFeaturesMetadata = (<const>{
[WorkspacePlanFeatures.EmbedPrivateProjects]: {
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'
}
}) satisfies Record<
WorkspacePlanFeatures,
@@ -168,7 +173,8 @@ export const WorkspaceUnpaidPlanConfigs: {
WorkspacePlanFeatures.SSO,
WorkspacePlanFeatures.CustomDataRegion,
WorkspacePlanFeatures.HideSpeckleBranding,
WorkspacePlanFeatures.ExclusiveMembership
WorkspacePlanFeatures.ExclusiveMembership,
WorkspacePlanFeatures.AccIntegration
],
limits: unlimited
},
@@ -180,7 +186,8 @@ export const WorkspaceUnpaidPlanConfigs: {
WorkspacePlanFeatures.SSO,
WorkspacePlanFeatures.CustomDataRegion,
WorkspacePlanFeatures.HideSpeckleBranding,
WorkspacePlanFeatures.ExclusiveMembership
WorkspacePlanFeatures.ExclusiveMembership,
WorkspacePlanFeatures.AccIntegration
],
limits: unlimited
},