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

Bug With File Path and Feature Requests #149

Open
lahmacun opened this issue Sep 19, 2024 · 0 comments
Open

Bug With File Path and Feature Requests #149

lahmacun opened this issue Sep 19, 2024 · 0 comments

Comments

@lahmacun
Copy link

Hi there!

First of all, I'm in a hurry, I have no time to write details of the feature and bug. I'll shortly explain and edit the issue later. And if I have time, I really want to open a PR for these requests. I appreciate your work here.

Bug With File Path:

My file manager is under dashboard/file-manager path and /dashboard path is accessible only with ROLE_USER. But I want to serve that files over their real path which is /upload/blablabla

Since the data-path attribute on .select item giving me the path like this: '/dashboard/file-manager/file/blabla.png?route=blabla', I can not serve that images to my anon users.

Feature Request

I wanted to add a variable to the prefix in routes.yaml, something like that: '/dashboard/apps/{eventId}/file-manager', thus I could open the right folder when user wants to add image to specific event. But I can not accomplish that right now.

Also if I can select an initial folder, it would work for me too. I'm using custom service. Maybe an option like 'initialFolder' can be added. So I can rewrite this on custom service and when I open the file manager, I can show user the right directory.

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