- Issue created by @ikphilip
- Assigned to LOBsTerr
- πΊπΈUnited States ikphilip Charlotte, NC, USA
OK. Further investigation reveals ginvite is using a built-in access check in the group module. That check in Drupal\group\AccessGroupInstalledContentAccessCheck->access() requires a 'group' parameter be passed or else it fails the condition !$parameters->has('group') and returns AccessResult:neutral(). As currently constructed only group_relationship parameter is found. Adding the group id to the route appears to pass enough information to the group access check to pass.
This patch adjusts the routing and edits the My Invitations view which generates operation links.
- πΊπΈUnited States ikphilip Charlotte, NC, USA
Patch #5 should fix the my_invitations view to correctly create the routes.
-
LOBsTerr β
committed 73596daa on 3.0.x authored by
ikphilip β
Issue #3393973 by ikphilip, LOBsTerr: User Accept/Decline invitation...
-
LOBsTerr β
committed 73596daa on 3.0.x authored by
ikphilip β
-
LOBsTerr β
committed fce2e3dd on 4.0.x authored by
ikphilip β
Issue #3393973 by ikphilip, LOBsTerr: User Accept/Decline invitation...
-
LOBsTerr β
committed fce2e3dd on 4.0.x authored by
ikphilip β
- Issue was unassigned.
- Status changed to Fixed
8 months ago 10:20pm 15 October 2023 - π§πͺBelgium LOBsTerr
I decided to keep routes as they are right now, because some developers could alter they views and will miss these changes.
I just add additional check that plugin exist in our custom access check. - Status changed to Needs review
8 months ago 8:38pm 18 October 2023 - π¨π¦Canada floydm
This issue also appeared in the 2.x branch in release 2.2 and makes it so users cannot accept invitations.
As far as I can tell, it's just a one line change to fix it.
-
LOBsTerr β
committed 8a49cc7d on 2.x authored by
floydm β
Issue #3393973 by floydm, LOBsTerr: User Accept/Decline invitation...
-
LOBsTerr β
committed 8a49cc7d on 2.x authored by
floydm β
- Status changed to Fixed
8 months ago 9:46pm 18 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.