Show user roles on section editors pages

Created on 30 July 2025, 5 days ago

Problem/Motivation

For context, I'm looking at the section editors pages: the pages where you see which users are assigned to a section, and can add/remove users. An example URL from my local site: /admin/config/workflow/workbench_access/default/sections/77/users

I'd love to have a column that shows the user roles next to each username.

Why? I'm using the Workbench Email β†’ module to notify certain users when content in their section is flagged for review, and I've written a custom plugin that sends notifications based on user roles and the section taxonomy hierarchy. It would be REALLY convenient if I could see the user roles present in each section, so I can make sure at least one "Content Manager" has been assigned to each section.

Not a critical feature, just a Nice To Have.

Proposed resolution

I've written a quick patch that adds a Roles column to the section editors pages. I'll follow up with it shortly.

Remaining tasks

Let me know if this patch is usable & desirable or not.

  • Would this new column annoy other people? (I can't imagine why, but I'm obviously biased.)
  • Does what I've written introduce any performance issues? After all, I'm not super familiar with the code in Workbench Access, so it wouldn't surprise me if there's a better way to fetch the user roles.

User interface changes

This patch adds a "Roles" column to the section editors pages, like in the attached screenshot:

β†’

✨ Feature request
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States ivagold Philadelphia, PA

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