canEditPostStatus

Function

Utility to determine if User has privileges to modify the status of a post

Parameters

Parameter Type Default Notes
channel Required IChannel
user Optional IUser | IDiscussionsUser {}

Returns

boolean

Function defined in discussions/src/utils/posts/can-edit-post-status.ts:29