userHasPrivileges
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
user Optional | IUser | IDiscussionsUser | {} | |
privileges Required | Privilege[] |
Returns
boolean
Function defined in discussions/src/utils/platform.ts:68
Parameter | Type | Default | Notes |
---|---|---|---|
user Optional | IUser | IDiscussionsUser | {} | |
privileges Required | Privilege[] |