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:
@ -7,7 +7,10 @@ type FeatureFlagMetadata = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type PublicFeatureFlag = {
|
export type PublicFeatureFlag = {
|
||||||
key: Extract<FeatureFlagKey, FeatureFlagKey.IsWorkflowEnabled>;
|
key: Extract<
|
||||||
|
FeatureFlagKey,
|
||||||
|
FeatureFlagKey.IsWorkflowEnabled | FeatureFlagKey.IsPermissionsEnabled
|
||||||
|
>;
|
||||||
metadata: FeatureFlagMetadata;
|
metadata: FeatureFlagMetadata;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -20,4 +23,13 @@ export const PUBLIC_FEATURE_FLAGS: PublicFeatureFlag[] = [
|
|||||||
imagePath: 'https://twenty.com/images/lab/is-workflow-enabled.png',
|
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 |
Reference in New Issue
Block a user