userHasPrivilege
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
user Optional | IUser | IDiscussionsUser | {} | |
privilege Required | Privilege |
Returns
boolean
Function defined in discussions/src/utils/platform.ts:61
Parameter | Type | Default | Notes |
---|---|---|---|
user Optional | IUser | IDiscussionsUser | {} | |
privilege Required | Privilege |