strapi-plugin-comments icon indicating copy to clipboard operation
strapi-plugin-comments copied to clipboard

Unable to Approve comment from admin panel

Open cyp3rius opened this issue 1 year ago • 3 comments

Discussed in https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/discussions/245

Originally posted by hassan-debug January 31, 2024 I just install comment plugin and here is my confin/plugin.js

module.exports = ({ env }) => ({
  comments: {
    enabled: true,
    enabledCollections: ['api::post.post'],
    config: {
      badWords: false,
      moderatorRoles: ['Authenticated'],
      approvalFlow: ['api::post.post'],
      entryLabel: {
        '*': ['Title', 'title', 'Name', 'name', 'Subject', 'subject'],
        'api::page.page': ['MyField']
      },
      blockedAuthorProps: ['name', 'email'],
      reportReasons: {
        MY_CUSTOM_REASON: 'MY_CUSTOM_REASON'
      }
    }
  }
});

i posted comments from comment api here is the list Screenshot 2024-01-31 at 4 24 04 pm

but when i open a comment there is no option to approve a comment or delete users comment (i am loggedin as super admin) Screenshot 2024-01-31 at 4 27 12 pm

cyp3rius avatar Mar 01 '24 13:03 cyp3rius

Same here! Comments just get stuck and never shows up in the get api response, also from admin panel i can literally do nothing about them. Im super user and i checked permissions: all allowed, still the same

Im using strapi 5 btw

This is what i see from the UI

Image

Both test comments in "Open" status

Image

And inside i cannot see anything that i might use to review them.

Image

Also the approval flow is disabled, so they should be approved...

fexxdev avatar May 24 '25 15:05 fexxdev

@fexxdev as this issue is related with v4, please create separated to for v5. We'll take a look into it.

cyp3rius avatar May 24 '25 18:05 cyp3rius

@cyp3rius thanks for the fast response, i've opened a new issue as requested.

fexxdev avatar May 25 '25 13:05 fexxdev