Skip to main content

rolePermissions

Reads a set of RolePermission.

rolePermissions(
first: Int
offset: Int
orderBy: [RolePermissionsOrderBy!]
condition: RolePermissionCondition
filter: RolePermissionFilter
): [RolePermission!]

Arguments​

rolePermissions.first ● Int scalar​

Only read the first n values of the set.

rolePermissions.offset ● Int scalar​

Skip the first n values.

rolePermissions.orderBy ● [RolePermissionsOrderBy!] list enum​

The method to use when ordering RolePermission.

rolePermissions.condition ● RolePermissionCondition input​

A condition to be used in determining which values should be returned by the collection.

rolePermissions.filter ● RolePermissionFilter input​

A filter to be used in determining which values should be returned by the collection.

Type​

RolePermission object​

A per-(role, permission) grant override that takes precedence over the code-defined defaults in @inaccord/protocol. A row's absence means "use the code default"; its presence means the workspace has customized this permission for this role.