I've had direct reports temporarily assigned to me a few times. Normally that meant that I didn't manage their "HR" tasks (e.g. time cards), but for whatever reason I needed to step in to help a team achieve a turnaround that was durable enough that the people could be "handed back" to their regular manager after only a few weeks or months and the benefits would continue. I understand management expectations, set team expectations, and manage the team while improving their processes and tools.