RolePermissionPatch
Represents an update to a RolePermission. Fields that are set will be updated.
input RolePermissionPatch {
id: String
roleId: String
permission: String
userGrant: Boolean
agentGrant: Boolean
version: Int
workspaceId: String
deletedAt: Datetime
updatedAt: Datetime
createdAt: Datetime
}
Fields
RolePermissionPatch.id ● String scalar
RolePermissionPatch.roleId ● String scalar
RolePermissionPatch.permission ● String 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.
RolePermissionPatch.userGrant ● Boolean scalar
Whether a human member with this role is granted the permission.
RolePermissionPatch.agentGrant ● Boolean scalar
Whether an agent (API key) acting under this role is granted the permission. Constrained to be no broader than user_grant.
RolePermissionPatch.version ● Int scalar
RolePermissionPatch.workspaceId ● String scalar
RolePermissionPatch.deletedAt ● Datetime scalar
RolePermissionPatch.updatedAt ● Datetime scalar
RolePermissionPatch.createdAt ● Datetime scalar
Member Of
UpdateRolePermissionByNodeIdInput input ● UpdateRolePermissionInput input