Skip to main content

grantAppReviewPermission

Requires permission platform:access:all.

Let a Growmax platform staff user review public apps (grants platform:apps:review). Platform owner only; audit-logged.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation GrantAppReviewPermission($userId: ID!) {
grantAppReviewPermission(userId: $userId) {
firstName
lastName
canReview
email
hasReviewGrant
isPlatformStaff
}
}

Variables:

{
"userId": "id"
}

Response:

{
"data": {
"grantAppReviewPermission": {
"firstName": "string",
"lastName": "string",
"canReview": true,
"email": "string",
"hasReviewGrant": true,
"isPlatformStaff": true
}
}
}
grantAppReviewPermission(
userId: ID!
): AppReviewer!

Arguments​

grantAppReviewPermission.userId ● ID! non-null scalar​

The staff user.

Type​

AppReviewer object​

A Growmax staff user on the platform owner's Reviewers screen, and whether they may review public apps.