Add permissions v1 to lab (#10845)

## Context
Not sure why the image should be self hosted on twenty-website, I've
simply followed what we did with other items of the lab
This commit is contained in:
Weiko
2025-03-13 12:03:01 +01:00
committed by GitHub
parent 5b34f86b6d
commit f66ae3eff6
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,10 @@ type FeatureFlagMetadata = {
};
export type PublicFeatureFlag = {
key: Extract<FeatureFlagKey, FeatureFlagKey.IsWorkflowEnabled>;
key: Extract<
FeatureFlagKey,
FeatureFlagKey.IsWorkflowEnabled | FeatureFlagKey.IsPermissionsEnabled
>;
metadata: FeatureFlagMetadata;
};
@ -20,4 +23,13 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
imagePath: 'https://twenty.com/images/lab/is-workflow-enabled.png',
},
},
{
key: FeatureFlagKey.IsPermissionsEnabled,
metadata: {
label: 'Permissions V1',
description:
'Role-based access control system for workspace security management (Admin/Member)',
imagePath: 'https://twenty.com/images/lab/is-permissions-enabled.png',
},
},
];

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB