I would love to have the ability to configure what roles get logged at all, similar to the existing ability to configure email notifications.

In our use case, we have some roles that automatically expire, and are automatically re-granted if the user meets certain conditions, and we ideally wouldn't want these roles cluttering up the log, making it hard to find changes to the roles we *do* care about.

CommentFileSizeAuthor
#8 3156751.patch1.14 KBjvdkolk
#5 3156751.patch1.48 KBjvdkolk
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kpaxman created an issue. See original summary.

gaurav.kapoor’s picture

Category: Feature request » Task

I noticed that we have a configuration 'role_watchdog_monitor_roles' but it isn't respected when role change logs are collected. We will have to add a condition in the user update hooks.

gaurav.kapoor’s picture

Version: 2.0.0 » 8.x-1.x-dev
gaurav.kapoor’s picture

Version: 8.x-1.x-dev » 2.0.x-dev
jvdkolk’s picture

StatusFileSize
new1.48 KB

Tried to add that condition. Please test.

jvdkolk’s picture

Status: Active » Needs review
jvdkolk’s picture

jvdkolk’s picture

StatusFileSize
new1.14 KB

Updated patch