submission_view_any didn't work after migrating from 1.6 to 2.2

Created on 8 April 2024, 3 months ago

Problem/Motivation

Tabs allowing some group members to view webform submissions were not showing after migrating to 2.2 from 1.6

Proposed resolution

After some debugging I found that the problem was coming from the accessCheck in the getCurrentGroupRelationship method.

Tabs were displayed again if I used accessCheck(FALSE).

After some deeper investigation I found that I needed to give the permission Relationship: View any entity relations to the related group roles to be able to make it work with group 2.2.

The corresponding permission in 1.6 Relation: View any entity relations was seemingly not needed.

Remaining tasks

It took me a few hours to identify the cause of my problem, so I guess we need to document it somewhere.

✨ Feature request
Status

Active

Version

2.0

Component

Documentation

Created by

πŸ‡«πŸ‡·France mably

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

Comments & Activities

Production build 0.69.0 2024