زر المسؤول معطل عندما يحصل حساب المستخدم على وضع المشرف


Reproduction:

  • User A gives User B moderator
  • User B goes to their profile.
  • They see a broken button, called en.admin.user.show_admin_profile.
  • They click on it and they get brung to an error page.
إعجابَين (2)

Thanks for reporting, we will get it sorted in the next few weeks.

3 إعجابات

I can’t see this happening on my User B (moderator). Is this a local setup? Can you confirm if this is still happening?

إعجاب واحد (1)

Oh I think I know what this could be. The admin bundle only ships to admins.

I suspect the repro is:

  • Account B navigates to home page
  • Account A give B admin
  • Account B navigates to a profile page without reload

The workaround is to reload the page.

I think this is certainly a bug, but quite low priority, we should force a full refresh on route transition in cases like this.

Does this align with your experience @twofoursixeight

5 إعجابات

This is what I think happened, User B got moderator status and went to a pre-loaded profile page.

إعجاب واحد (1)