Token for the groups a user belongs to

Created on 13 November 2023, about 1 year ago

Problem/Motivation

I'm trying to use Groups in a similar way to Roles, only Groups seems to me to be more appropriate for some specific groups of people where the group does not require specific node permissions.

Roles provides the token [user:roles] to store the roles that a user belongs to, and I was hoping for the same from the Group module, but it doesn't seem to be available. This token would then be used in Views as a filter to check that a field has a match with one of the logged in user's groups.

Does such a token exist, or could it be created, or is there perhaps an alternative solution?

✨ Feature request
Status

Active

Version

3.2

Component

Code

Created by

πŸ‡ΈπŸ‡¦Saudi Arabia ishore

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

Comments & Activities

Production build 0.71.5 2024