Skip to content

fix: skip user link for non-real users in processes list#20259

Open
mvanhorn wants to merge 1 commit intophpmyadmin:masterfrom
mvanhorn:fix/processes-non-user-links
Open

fix: skip user link for non-real users in processes list#20259
mvanhorn wants to merge 1 commit intophpmyadmin:masterfrom
mvanhorn:fix/processes-non-user-links

Conversation

@mvanhorn
Copy link
Copy Markdown

The processes list currently links every user name to the privileges page.
Pseudo-users like event_scheduler and unauthenticated user have no
corresponding entry in the user accounts table, so the link leads to an
empty or broken page.

This extends the existing system user check to also cover
event_scheduler and unauthenticated user by switching the condition
to a Twig not in list.

Fixes #19842

Do not render a link to the privileges page for pseudo-users like
event_scheduler and unauthenticated user, since they have no
corresponding entry in the user accounts table.

Fixes phpmyadmin#19842

Signed-off-by: Matt Van Horn <mvanhorn@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Processes list should not link to non-users

1 participant