danirus / django-comments-xtd

A pluggable Django comments application with thread support, follow-up notifications, mail confirmation, like/dislike flags, moderation, a ReactJS plugin and Bootstrap 5.3.
https://django-comments-xtd.readthedocs.io
BSD 2-Clause "Simplified" License
594 stars 157 forks source link

`user_moderator` field is `false` for non superusers in Web API #171

Closed ashwani99 closed 4 years ago

ashwani99 commented 4 years ago

When fetching comments, the user_moderator field comes false for all non superuser accounts. For superuser accounts, since they have all permissions, its true

To reproduce, make a GET request to retrieve-comment-list endpoint.

danirus commented 4 years ago

The PR #178 implements the fix and closed the bug. I will wrap this fix as part of the 2.6.3 with other issues. Whenever you test it, if you find that the issue is still present, please, reopen it. @ashwani99, thanks again for your report!