canModifyPost

Function

Determine if a user can modify an existing post

Parameters

Parameter Type Default Notes
post Required IPost
user Required IDiscussionsUser
channel Required IChannel

Returns

boolean

boolean

Function defined in discussions/src/utils/posts/can-modify-post.ts:17