Magidoc

RoleInput
Input Object

Input for creating or updating a role

Fields

#

description

A description of what this role can do

id

Use this field to provide either a Cloudshelf gid, or your own external gid. If the external gid already exists, the existing record will be updated. If the external gid does not exist, a new record will be created.

name

The display name of the role

permissions

The permissions to grant to this role. When provided, this replaces all existing permissions.

Usages

#

References

#

  • Argument input of field upsertRole from type Mutation