Skip to content

Bug With File Path and Feature Requests #149

@lahmacun

Description

@lahmacun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions