Gate export/import command menu items by permission flag#19991
Conversation
📊 API Changes ReportGraphQL Schema ChangesGraphQL Schema Changes[error] Error: Unable to read JSON file: /home/runner/work/twenty/twenty/main-schema-introspection.json: Not valid JSON content GraphQL Metadata Schema ChangesGraphQL Metadata Schema Changes[error] Error: Unable to read JSON file: /home/runner/work/twenty/twenty/main-metadata-schema-introspection.json: Not valid JSON content REST API Analysis ErrorError OutputREST Metadata API Analysis ErrorError Output |
Summary
exportRecords,exportView, andimportRecordscommand menu actions fromusers whose role does not hold the matching
EXPORT_CSV/IMPORT_CSVpermission flag.conditionalAvailabilityExpressionby adding
permissionFlags: Record<string, boolean>toCommandMenuContextApi, mirroringhow
featureFlagsis already accessible.2.1.0workspace upgrade command that rewrites the three existing rows on everyactive/suspended workspace.
Before
After