I planned to use view field for creating some kind of a mini panel for site manager. I restricted access to child view and attached it as a field to parent view displaying materials.

I expected it would be visible only to authorized users, but looks like view's access settings are somehow ignored by views_field_view.

CommentFileSizeAuthor
#1 views_field_view-access-1565458-1.patch1.48 KBakamaus

Comments

akamaus’s picture

Status: Active » Needs review
StatusFileSize
new1.48 KB

Have made a quick fix. Works for my case, but I'm unsure about code path dealing with query aggregation.

damiankloip’s picture

Status: Needs review » Fixed

akamaus, good spot. I have committed a fix for this, based on your patch but including support for aggregated queries etc... too. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.