processEntityFeatures

Function

Take an entity's features and merge them with the default features ensuring that only the featires defined in the business rules are allowed through.

Parameters

Parameter Type Default Notes
entityFeatures Required IFeatureFlags
defaultFeatures Required IFeatureFlags

Returns

Property Type Notes

Function defined in common/src/permissions/_internal/processEntityFeatures.ts:11