Relation view function.
Authorization checks.