Skip to main content

PageEditorListPermissionsMeta

Permission snapshot used by page-editor sharing and publishing flows; account_exists short-circuits the other fields when no account relationship exists.

type PageEditorListPermissionsMeta {
accountExists: Boolean!
canCreateSite: Boolean
canAccessSite: Boolean
siteExists: Boolean
role: String
}

Fields​

PageEditorListPermissionsMeta.accountExists ● Boolean! non-null scalar​

Whether the owner/user account relationship exists; other fields are null when false.

PageEditorListPermissionsMeta.canCreateSite ● Boolean scalar​

Whether the user can create sites; null without an account relationship.

PageEditorListPermissionsMeta.canAccessSite ● Boolean scalar​

Whether the user can edit the site named by domain; null without an account relationship.

PageEditorListPermissionsMeta.siteExists ● Boolean scalar​

Whether the site named by domain is visible to the user; null without an account relationship.

PageEditorListPermissionsMeta.role ● String scalar​

User role in the owner account; null without an account relationship.

Returned By​

pageEditorGiveAccess mutation ● pageEditorListPermissions query