canModifyPostStatus
Determines if the given user has sufficient privileges to modify a post's status
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
channel Required | IChannel |
An IChannel object |
|
user Required | IUser |
An IUser object |
Returns
true if the user can modify the post
boolean
Function defined in discussions/src/utils/posts/index.ts:66