Fix EZP-21438: Improve permission handling to use view_embed