UniSharp / laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
https://unisharp.github.io/laravel-filemanager/
MIT License
2.08k stars 721 forks source link

Multi Tenancy Support #1029

Open BechirAhmed opened 3 years ago

BechirAhmed commented 3 years ago

Hi, thanks for the great work, actually I don't have an issue. I just want to know what are the possibilities to use this package with a multi-tenancy system? Spacially this package Tenancy for Laravel, which has multiple types of identifications, like by domain, subdomain, Path & Request data. Is that possible? if yes, How? Any ideas can help!

Thanks

KatiaSishost commented 2 years ago

Any solution?

mrtsglk commented 1 year ago

Any solution?

BechirAhmed commented 1 year ago

@KatiaSishost @mrtsglk It works for me, but only with s3 file system. I guess the solution is just make sure your app can upload and retrieve files from tenant folder located in storage and not from storage/app/public. That's why with s3 works fine because it doesn't look to storage app path, just for tenant folder and then files.

mrtsglk commented 1 year ago

@BechirAhmed Yes it only sees the tenant folder. But there is a preview problem. The url is not working correctly. My current preview url : http://localhost/storage/photos/. I want to change url.

jaffarhussain1011 commented 1 year ago

still if you are facing this issue, you can use this setting image image

https://unisharp.github.io/laravel-filemanager/config