Allow `current_user` and `can?` for UserProfile::Panel
What does this MR do and why?
Fixes #410983 (closed).
Allow current_user
and can?
for UserProfile::Panel
. Otherwise, for unconfirmed (bot) users, the call to user_display_name
failed.
Screenshots or screen recordings
How to set up and validate locally
Go to http://gdk.test:3000/alert-bot
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Hutterer