removePermissionPolicy

Function

Remove a policy from an array of entity policies Returns a new array

Parameters

Parameter Type Default Notes
permissions Optional IEntityPermissionPolicy[] []
permission Required Permission
id Required string

Returns


Function defined in common/src/permissions/utils.ts:32