Start a conversation

Working with Bypass Media Moderation Permission

Added in 25.02.

About Bypass Media Moderation

The bypass media moderation permission allows members to instantly share visual and multimedia content, including images, videos, and attachments. This feature circumvents the potential delays that would typically arise from a moderation review process, providing an efficient member experience where timely content sharing is essential.

You can set this permission at the following levels:

  • Community
  • Category
  • Forum
  • Blog
  • KB
  • Occasion (Event)
  • Group
  • Idea
Note: Only Admins and Moderators can set this permission for your community.

Query to fetch the permission

You can use the following query to view your community's bypass media moderation permission.

{
  permissionsForCoreNode(id:"community:DocsCommunity") {
    ... on CommunityPermissions {
      bypassMediaModeration {
        access 
      }
    }
  }
}

The GraphQL response:

{
  "data": {
    "permissionsForCoreNode": {
      "bypassMediaModeration": {
        "access": "DENIED"
      }
    }
  }
}

Set the Bypass Media Moderation Permission

Note: Only Admins and Moderators can set this permission for your community.

Bypass Media Moderation at the community level

Use the setCommunityPermissions mutation to set the bypass media moderation permission for your community.

mutation {
  setCommunityPermissions(updateInput:{
    bypassMediaModeration: {
      access: GRANTED
    }
  }) {
    result {
      bypassMediaModeration {
        access
      }
    }
  }
}

The GraphQL response:

{
  "data": {
    "setCommunityPermissions": {
      "result": {
        "bypassMediaModeration": {
          "access": "GRANTED"
        }
      }
    }
  }
}

Bypass Media Moderation for a specific role

Use the setCommunityPermissionsForRole mutation to set the permission for a role at a community level.

mutation {
  setCommunityPermissionsForRole(
    roleName: "BlogAuthor"
    updateInput: { bypassMediaModeration: { access: GRANTED } }
  ) {
    result {
      bypassMediaModeration {
        access
      }
    }
  }
}

The GraphQL response:

{
  "data": {
    "setCommunityPermissionsForRole": {
      "result": {
        "bypassMediaModeration": {
          "access": "GRANTED"
        }
      }
    }
  }
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments