travis-r6s / gridsome-source-strapi

A forked version of the official Gridsome Strapi plugin, with image downloading.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Content Type permissions changed?

craigharman opened this issue · comments

I'm getting an error that I think is related to a Strapi update:

Could not fetch content types - ensure you have enabled the 'findcontenttypes' read permission under the 'Content Manager' section for the Public user in the Strapi admin: http://localhost:1337/admin/settings/users-permissions/roles/

However I have added these permissions, but they seem to have slightly different names in the admin now getComponents and getContentTypes. Does this plugin need updating?

Hey @craigharman - apologies for the delay on this. Could I check what version of Strapi you are using? I have only tested this on V3...

No problems @thetre97 the version is 4.0.4

Thanks for confirming - you're right, it does appear that they have changed the permission names in v4. Afraid I don't have much time atm to make the changes to this plugin, but welcome a PR 🙂