Closed yatishTrootech closed 1 year ago
Checked in Previous version date (oct-11-2022)
We were using queryset for getting posts https://github.com/rewardz/Feeds/blob/d15f8484603817a7e50c28ce2ce61b07cc373a44/feeds/views.py#L234 (No admin user is allowed to access posts)
We were not allowing admin to comment on the post Here accessible posts are https://github.com/rewardz/Feeds/blob/d15f8484603817a7e50c28ce2ce61b07cc373a44/feeds/views.py#L285 before comment
Then after we made a change related allow admin user to access comment for feedback_post Here https://github.com/rewardz/Feeds/blob/ed371e722c03c671bf81fc888fd5e61231f14acf/feeds/views.py#L343
But before that we have a condition https://github.com/rewardz/Feeds/blob/ed371e722c03c671bf81fc888fd5e61231f14acf/feeds/views.py#L312 Which will restrict admin user to comment (Here also we hjave to allow admin for feedback post comment)
User: melissa_joy_ho@nuhs.edu.sg
User unable to access comments
One more Issue: https://cerrapoints.com/admin/app_usage/logmodel/113333914/?_changelist_filters=q%3Dmelissa_joy_ho%2540nuhs.edu.sg