Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3917

Symfony access handling for specific folders dependend on logged in user

$
0
0

In a symfony 5.0 application I need to integrate a filemanager that provides basic file handling for users.

Each user is only allowed to manage files in his specific user folder which (obviously) is not in the public folder but at some path like

../data/images/[user_id]/

The filemanager of my choice needs this one path as a parameter to do it's magic.

How can I define access rules in symfony to define this behaviour to grant access to a specific but dynamic path which depends on the currently logged in user?


Viewing all articles
Browse latest Browse all 3917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>