Add Group Role-Based Block Visibility Condition

Created on 29 January 2025, 2 months ago

Problem/Motivation

Currently, the Group module does not provide a way to conditionally display blocks based on Group Roles within a Group Type. This feature request proposes adding a "Group Role Condition" plugin that allows administrators to control block visibility based on the roles assigned to users in different groups.

Steps to reproduce

  • Try to configure block visibility based on Group Roles in the current Group module.
  • Notice that there is no option to restrict block visibility using group roles.

Proposed resolution

  • Provides an admin interface to configure block visibility based on Group Roles.
  • Allows users to select specific roles within different Group Types.
  • Ensures blocks are only displayed for users with matching group roles.
Feature request
Status

Active

Version

3.3

Component

Code

Created by

🇮🇳India dev.drupal.ln

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024