RolePermissionInput
An input for mutations affecting RolePermission
input RolePermissionInput {
id: String
roleId: String!
permission: String!
userGrant: Boolean!
agentGrant: Boolean!
version: Int
workspaceId: String
deletedAt: Datetime
updatedAt: Datetime
createdAt: Datetime
}
Fields
RolePermissionInput.id ● String scalar
RolePermissionInput.roleId ● String! non-null scalar
RolePermissionInput.permission ● String! non-null scalar
The dotted permission-node string (from the Permission enum, e.g. accord.accord.update). Not foreign-key enforced — rows for unknown nodes are inert.
RolePermissionInput.userGrant ● Boolean! non-null scalar
Whether a human member with this role is granted the permission.
RolePermissionInput.agentGrant ● Boolean! non-null scalar
Whether an agent (API key) acting under this role is granted the permission. Constrained to be no broader than user_grant.