Skip to content

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

Open
mvanhorn wants to merge 1 commit intophpmyadmin:QA_5_2from
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:QA_5_2from
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

@williamdes
Copy link
Copy Markdown
Member

Thanks
can you ask Claude to cherry pick rebase your work onto QA_5_2 and force push?
lower rebasing is tricky

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>
@mvanhorn mvanhorn force-pushed the fix/processes-non-user-links branch from 6f7297c to 580546b Compare March 31, 2026 01:48
@mvanhorn mvanhorn changed the base branch from master to QA_5_2 March 31, 2026 01:48
@mvanhorn
Copy link
Copy Markdown
Author

Rebased onto QA_5_2 in 580546b. A straight rebase from master hit conflicts in Version.php and package.json, so I cherry-picked the fix commit onto upstream/QA_5_2 instead and updated the PR base branch to match.

Copy link
Copy Markdown
Member

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@williamdes williamdes added this to the 5.2.4 milestone Mar 31, 2026
@mvanhorn
Copy link
Copy Markdown
Author

mvanhorn commented Apr 2, 2026

Thanks for the review!

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

2 participants