Fix EZP-21438: use also view_embed permission for relations
(cherry picked from commit 6f5490857212103c297bccb99202871b8cc1417c)
Fix EZP-21438: additional permission checking for relations
(cherry picked from commit 5eb5b0728c8fbf1da8eba62a26e3103ab7209124)