Skip to main content

pageEditorCheckPermissions

Checks whether the caller can publish a page or version and returns the editor owner id with the outcome. Assigns an unowned editor to the caller, and emails the editor owner an access request when the caller cannot publish. Requires page editor navigation access.

pageEditorCheckPermissions(
versionId: String
pageId: String
isElectron: Boolean
redirect: String
): PageEditorCheckPermissionsResponse!

Arguments​

pageEditorCheckPermissions.versionId ● String scalar​

Version UUID from pageEditorGetEditor; required unless pageId is supplied and takes precedence over it.

pageEditorCheckPermissions.pageId ● String scalar​

Page UUID from pageEditorCreatePage or pageEditorGetEditor; required unless versionId is supplied.

pageEditorCheckPermissions.isElectron ● Boolean scalar​

Set when the caller is the Electron desktop editor; passed along with any email. Defaults to false.

pageEditorCheckPermissions.redirect ● String scalar​

Optional redirect value passed along with any email.

Type​

PageEditorCheckPermissionsResponse object​

Publishing-access result from pageEditorCheckPermissions, including any owner notification.