Skip to main content

SetPermissionInput

Input to the setPermission mutation.

input SetPermissionInput {
id: ID
permission: String
displayName: String
hash: Hash
}

Fields

id (ID)

The ID of an existing permission to update. If provided, a permission with the specified ID must exist.

permission (String)

The unique permission value.

displayName (String)

Friendly name for the permission.

hash (Hash)

Optional value of the hash value previously read from the directory.

If a hash value is specified and the permission being mutated already exists, the update will be rejected unless the hash value matches the existing permissions's hash value. This can be used to ensure that the permission being mutated has not been modified since it was read from the directory.