pageEditorGiveAccess
Gives a user manager access to the site of a page or version in the caller's account and returns their updated permissions. Creates the site and adds the user to the account as a manager when missing, then emails the user an access link. Requires account owner access.
pageEditorGiveAccess(
versionId: String
pageId: String
userId: Int!
isElectron: Boolean
redirect: String
): PageEditorListPermissionsMeta!
Arguments
pageEditorGiveAccess.versionId ● String scalar
Version UUID from pageEditorGetEditor; required unless pageId is supplied and takes precedence over it.
pageEditorGiveAccess.pageId ● String scalar
Page UUID from pageEditorCreatePage or pageEditorGetEditor; required unless versionId is supplied.
pageEditorGiveAccess.userId ● Int! non-null scalar
Id of the existing Crazy Egg user to give access.
pageEditorGiveAccess.isElectron ● Boolean scalar
Set when the caller is the Electron desktop editor; passed along with the email. Defaults to false.
pageEditorGiveAccess.redirect ● String scalar
Optional redirect value passed along with the email.
Type
PageEditorListPermissionsMeta object
Permission snapshot used by page-editor sharing and publishing flows; account_exists
short-circuits the other fields when no account relationship exists.