public Task<RoleAssignmentDto> CreateRoleAssignment(
RoleAssignmentDto newRoleAssignment,
UserSessionData createdBy,
CancellationToken cancellationToken = default
)| UnauthorizedAccessException | Thrown if the user createdBy did not have the correct permissions |
| ArgumentNullException | Thrown if newRoleAssignment or createdBy was |
| ResourceInvalidStateException | Thrown if newRoleAssignment is in an invalid state. |