If the user doesn't have "view xx relationships" then repeating an entity inside of a group will not work, and _entity_repeat_group_get_group_content() will return nothing.

accessCheck() has to be added to the query, otherwise Group will rewrite the SQL with permission checks.

Since we are doing this on the backend and not using the query to display content, we can set accessCheck to FALSE.

CommentFileSizeAuthor
#2 3345344.patch612 bytesdjdevin

Comments

djdevin created an issue. See original summary.

djdevin’s picture

Issue summary: View changes
StatusFileSize
new612 bytes

  • kyoder committed f31f62e9 on 1.0.x
    Issue #3345344 by djdevin: Missing permission causes entity not to be...
kyoder’s picture

Status: Needs review » Fixed

Patched in latest release 1.1.2 thank you!

kyoder’s picture

Status: Fixed » Closed (fixed)