# How to render the reviews for common user

**URL:** <https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004>\
**Category:** Development\
**Created:** [August 29, 2024, 4:12pm UTC](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004 "2024-08-29T16:12:54Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Harshit\_Dave](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/harshit_dave/32/379059_2.png) [@Harshit\_Dave](https://meta.discourse.org/u/Harshit_Dave)\
**Post date:** [August 29, 2024, 4:12pm UTC](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004/1 "2024-08-29T16:12:54Z")

</div>

Hello,

Can anyone help me figure out how can I display review to common user too!

I am working on customization in plugin,

Basically, I want to display the review link in sidebar for the common user as well as admins/ moderators. So, for admins/moderator I don’t need to do anything as it is displaying for these users. But, I want to display it for common user and, common user should only see the topics which are in pending status.

I tried looking in the code and found a file which is resposible to display the reviews.  
[review-index.js](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/routes/review-index.js) and [review-index.hbs](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/templates/review-index.hbs). In route file, [this line](https://github.com/discourse/discourse/blob/main/app/assets/javascripts/discourse/app/routes/review-index.js#L16) is fetching data, I don’t know how to modify the query so I can fetch the topics with status pending.

If someone guide me for these two things:

1. how to display the review link in sidebar for the common user?
2. how can I modify the query so that I can only fetch the topics which is in pending status.

---

_[View the full topic](https://meta.discourse.org/t/how-to-render-the-reviews-for-common-user/324004)._
