Report question

Question: How to redirect [Authorize] to loginUrl only when Roles are not used?