[F] createPermissionSet
function createPermissionSet(permissions): PermissionSet;Build a normalized PermissionSet from a flat list of granular Permissions. Repeated kinds are merged (their scopes unioned).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
permissions | readonly Permission[] |