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