Missing permission causes entity not to be added to group

Created on 1 March 2023, over 1 year ago

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.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States djdevin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024