Skip to main content

UserModerationScopes

UserModerationScopes describes the scopes for moderation. These only apply when the user has a MODERATOR role.

type UserModerationScopes {
scoped: Boolean!
sites: [Site!]
siteIDs: [String!]
}

Fields​

UserModerationScopes.scoped ● Boolean! non-null scalar ​

scoped returns true when the moderator has a scoped moderation role, and cannot moderate organization wide.

UserModerationScopes.sites ● [Site!] list object ​

sites (when not null) list the sites that the user is only allowed to moderate on. When null, it means that the user is allowed to moderate on all sites.

UserModerationScopes.siteIDs ● [String!] list scalar ​

siteIDs (when not null) list the sites that the user is only allowed to moderate on. When null, it means that the user is allowed to moderate on all sites.

Member Of​

User object