Hello I'd like to ask for some help / report an issue we face.
We migrated to Craft 4 a few weeks ago in a project and some editors started reporting issues which is according to our current understanding on the topic is related this plugin.
When they are trying to add images through the editor they can not see the proper volumes they should have access to in the popup modal.
The only option I had to fix this, was to temporarily give them admin permission on the site, which I hope I can revoke from them as soon as possible.
This is the payload of the request from an admin user
And this one is from a non-admin user
I'm not entirely sure what kind of permission is necessary for this to work, but I made sure all of these users have full acccess to every single volume on the site.
I don't have much experience with developing complex frontend functionalities for the Craft admin area, but I just quickly looked into the JS part of the plugin to see how these volumes are getting populated. This is what I see when I console.log out the content of the craftSettings variable in the init function of the ArticleEditor.
Admin user:
Non admin user:
Our current dependencies (copied from composer.json)
I'm not sure if this is an issue with Craft or this plugin or even with our config, but it would be highly appriciated if you could provide some help.
If you need any further detail on this or about our project please just let me know and I'll get back to you ASAP.
I think the potential error is somewhere around the src/Article.php_getVolumeKeys() method, but I'm still unsure if it's Craft related or this is some kind of validation error in the plugin.
Hello I'd like to ask for some help / report an issue we face.
We migrated to Craft 4 a few weeks ago in a project and some editors started reporting issues which is according to our current understanding on the topic is related this plugin.
When they are trying to add images through the editor they can not see the proper volumes they should have access to in the popup modal. The only option I had to fix this, was to temporarily give them admin permission on the site, which I hope I can revoke from them as soon as possible.
This is the payload of the request from an admin user
And this one is from a non-admin user
I'm not entirely sure what kind of permission is necessary for this to work, but I made sure all of these users have full acccess to every single volume on the site.
I don't have much experience with developing complex frontend functionalities for the Craft admin area, but I just quickly looked into the JS part of the plugin to see how these volumes are getting populated. This is what I see when I console.log out the content of the
craftSettings
variable in the init function of the ArticleEditor.Admin user:
Non admin user:
Our current dependencies (copied from composer.json)
I'm not sure if this is an issue with Craft or this plugin or even with our config, but it would be highly appriciated if you could provide some help. If you need any further detail on this or about our project please just let me know and I'll get back to you ASAP.