How does community-level moderation works

How does community level moderation works

  • How do I assign a user as moderator of a group
  • How does the moderator manage posts / comments on the group they’re moderating
  • Does UI Kit already includes UI Experience for these moderations

Hi Johndoe,

  • How do I assign a user as moderator of a group
    A: currently , you can using this SDK method and passing this value
    CommunityRepository.assignRoleToUsers({
    communityId,
    role,
    userIds,
    })
    for the role value , please using “moderator”

  • How does the moderator manage posts / comments on the group they’re moderating
    A : currently , moderator can not mange other user post in the community yet. but he can do the following action
    1.add user
    2.remove user
    3.assing other user as moderator
    4.unassign other user as moderator
    5.change community detail

  • Does UI Kit already includes UI Experience for these moderations
    A : Yes ! currently , our UIKIT already implement the functions relate to the moderator feature in UIKIt 1.6.0 and above

Hi @amitysupport ,

Can you tell me plz how a logged-in user get to know that he is a moderator of a community or not? Do we have anything in the session

Regards,
Nasir

Hello, if a user is assigned to a moderator, a badge should appear under their name when they create a post. For more information, please refer to the moderator badge section here: Roles & Permissions | Amity Docs.