canCreatePostV2
Utility to determine if User has privileges to create a post in a channel
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| channel Required | IChannel | ||
| user Optional | IUser | IDiscussionsUser | {} |
Returns
boolean
Function defined in packages/common/src/discussions/api/utils/posts/can-create-post-v2.ts:13