HandleUpdateGroupRole

Function: handleUpdateGroupRole()

[object Object]

Defined in: app/routes/admin/edit-group/edit-group.handlers.tsx:345

Updates the specific role alias assigned to a group membership.

Parameters

enrollmentId

[object Object]

The ID of the group membership record to update.

newRoleAliasId

number | null

The ID of the new role alias (or null to clear).

setLoadingChangeRole

(loading) => void

Setter to track the role update progress.

setEnrollments

Dispatch<SetStateAction<GroupMembershipResponseDto[]>>

Setter to update the local membership list.

Returns

Promise<void>

Async

On this page