laravel-filemanager icon indicating copy to clipboard operation
laravel-filemanager copied to clipboard

Multi Tenancy Support

Open BechirAhmed opened this issue 4 years ago • 5 comments

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

BechirAhmed avatar Jan 21 '21 16:01 BechirAhmed

Any solution?

KatiaSishost avatar May 04 '22 15:05 KatiaSishost

Any solution?

mrtsglk avatar Feb 20 '23 15:02 mrtsglk

@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.

BechirAhmed avatar Feb 20 '23 15:02 BechirAhmed

@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.

mrtsglk avatar Feb 21 '23 07:02 mrtsglk

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

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

jaffarhussain1011 avatar Jul 14 '23 10:07 jaffarhussain1011