hasAllPrivileges
Does a user have all the privileges in the passed in array
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
user Required | IUser | ||
privileges Required | string[] |
Returns
boolean
Function defined in teams/src/utils/has-all-privileges.ts:8