Views default argument for referencing current user groups

Created on 14 September 2018, over 6 years ago
Updated 2 July 2024, 6 months ago
Feature request
Status

RTBC

Version

1.0

Component

Code

Created by

🇩🇪Germany a.dmitriiev

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom Alina Basarabeanu

    Patch from #8 fixed the issue on Drupal core 9.5.10 and group 2.1.0.

  • 🇺🇦Ukraine rollins

    Drupal core 10.2.2 and group 2.2.2
    #8 patch works

    I used view on search api group index:
    add Contextual filters by group id
    click "Provide default value" and select type "Group IDs for logged in user"
    and "Allow multiple values" to be true

    also if it is required you can select Skip item access checks settings in views query options.

  • 🇫🇮Finland ZeiP

    Just to note in case someone wants to move this forward: The user permission considered here for bypassing the group access ”bypass group access” has been removed from Group 2 in #3259076: Get rid of the bypass permission .

Production build 0.71.5 2024