HandleCreateRoleSubmit
Function: handleCreateRoleSubmit()
[object Object]
Defined in: app/components/Roles/CreateRoleOverlay/CreateRoleOverlay.handlers.tsx:66
Handles the submission logic for creating either a new Parent Role or a Role Alias. It determines which API endpoint to call based on the selectedType and provides visual feedback via toast notifications.
Parameters
args
[object Object]
The configuration and state handlers for the submission.
Returns
[object Object]