joystream icon indicating copy to clipboard operation
joystream copied to clipboard

Query Node: Allow moderation of posts with `PostStatusLocked` via metaprotocol

Open Lezek123 opened this issue 3 years ago • 0 comments

Query node should support moderation of posts with PostStatusLocked (posts that no longer exist in the runtime, but were deleted with hide flag set to false) through a new metaprotocol message sent via forum working group's worker_remark extrinsic.

The query node will have to:

  • check whether the moderator that sent the remark has access to moderate the category that the post currently belong to in the database (post->thread->category). Note that you also need to recursively check category->parent, because if the moderator has access to the parent category, it should also be allowed to moderate posts under its child categories
  • update post status to PostStatusModerated if the moderator is allowed to moderate the post

┆Issue is synchronized with this Asana task by Unito

Lezek123 avatar Jul 05 '22 15:07 Lezek123