Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browse filemounts recursively for editors in plugin-context #185

Open
brittakohorst opened this issue Jun 22, 2017 · 0 comments
Open

browse filemounts recursively for editors in plugin-context #185

brittakohorst opened this issue Jun 22, 2017 · 0 comments

Comments

@brittakohorst
Copy link

brittakohorst commented Jun 22, 2017

Dear Fabian, our Backend-Editors expierence a different behaviour wether they use the media-module in a pagetree-context or from a plugin (filePicker).
In the pagetree-context they can browse all subfolders of their respective filemounts.
In the plugin-context they can only access the root-level of the actual filemount - so they cannot insert any FAL-Images in the plugin, since all ressources reside in subfolders.
It all happens in Fab\Media\Security\FilePermissionsAspect in function addFilePermissionsForFileStorages(...): the code-part that is executed when the current user is no Admin.
For our purposes it would suffice to ommit lines 68 to 82 - then the editors can search for ressources recursively.

Maybe you could introduce a flag in the basic extension configuration - allow-recursive-browsing-for-non-admins?

btw: issues #97 and #154 seem to hover around the same complex

As our editors can browse subfolders in the pagetree-context and can upload resources to subfolders I do not think that its a configuration problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant