What happens to permits or tasks if a user that is an assignee or owner is deleted from the system?

If you delete a user, certain fields where that user's name was entered, such as owner or assignee in permits or tasks, will be cleared. This allows for another user to be entered into those fields, but the permits and tasks themselves remain unchanged apart from the removal of the deleted user's name.