I'm trying to use ckfinder as a file repository. I have some user, and I want them to access their own folder, and only this one.
So in my basedir, I have 2 folder :
And I have 2 users : user1 and user2. I want user1 to access only folder1 and user2 to access only folder2.
I don't need any filtetype implementation (see my feature request), so I imagined 2 way of achieving this :
- one ressourceType "All" accepting all types of files
- two AccessControl depending of the user role, to restrict access to one folder
- two ressourceType : "folder1" and "folder2" accepting all type of files
- two AccessControl : depending of the user role, to restrict access to one folder
I succeeded yesterday to make work the second solution, but it doesn't work anymore today
And I didn't succeed at all to make the first solution work.
Could you indicate me which would be the best solution to make it work, and how I should write my configuration file ?
Thanks a lot.
How to have one and only one folder per user ?