Review button shows for normal users

AI-generated summary

Users reported that the ‘Review’ button appears in the sidebar for normal users who don’t have access to the review queue — a bug affecting multiple devices including Android and iPad ondrej, khenmu, and JammyDodger confirmed the issue. darkpixlz noted it only appeared when logged in. Clicking the button leads to an ‘Access Denied’ screen twofoursixeight. Don provided a temporary CSS fix to hide the button for non-staff users. The issue has since been fixed in Discourse PR #18454 as confirmed by tgxworld.

For normal users tgat can’t access the review queue it appears on the sidebar. Im using chrome and my phone is android. The expected result is that this is hidden from normal users and just shown to staff and category moderators.

6 Likes

Can confirm. :+1:

Using an iPad atm, so it isn’t exclusive to Android devices (would’ve been surprised if it was, tbh).

3 Likes

Ah, yes. I can confirm this. Thanks for the report. :+1:

4 Likes

Weird. I didn’t see it logged out but I saw it logged in.

1 Like

Hello,

Here is little css snippet to hide it for normal users while the fix is coming. :slightly_smiling_face:

This will show it only for staff.

.sidebar-section-link-wrapper {
  .sidebar-section-link.sidebar-section-link-review {
    display: none;
    body.staff & {
      display: inline-flex;
    }
  }
}
5 Likes

Looks like you’ll have to review what’s going on then :wink:

Also thanks @Don for that :grinning_face:

4 Likes

When you click the Review button, it will take you to an access denied screen.


Looking closer at the link, it shows that it tries to put you in a menu where the priority is low by default, only to be put into an “Access Denied” Acreen.

1 Like

Thank you for reporting!

Fixed in

https://github.com/discourse/discourse/pull/18454

5 Likes

This topic was automatically closed after 6 days. New replies are no longer allowed.