Hello
i'm french and my english is not so perfect so in advance sorry
my situation:
i have different users. i would like that they must have the following features
the quantity and the name of users are known and fixed
i'm a novice so i realy don't know:
could you help by telling where i can change the script and an idea of solution.
in advance thanks
i'm french and my english is not so perfect so in advance sorry
my situation:
i have different users. i would like that they must have the following features
- - access to a "userfolder" which are specific to the user, so userfolder1, userfolder2, etc so the user can only see his user folder
- can upload and selecte image or file only located to his folder (userfolder)
- can't delete the userfolder
- can create folders in the userfolder
the quantity and the name of users are known and fixed
i'm a novice so i realy don't know:
- if its' possible to have these conditions
how to do that..
could you help by telling where i can change the script and an idea of solution.
in advance thanks
Re: rights by folder and by user
The problem with my solution is that all the user-folders are shown in the folder list, even though one user cannot see the files in another user's folder (it will appear blank) or do any modifications to it. Still, it looks messy with the long folder-list. It's also important to auto-open the user's folder, otherwise he/she will probably not find it in the long list...
I hope something more elegant will be possible in future versions of CKFinder.
Re: rights by folder and by user
something like
if ($userName == 'Peter')
$baseUrl = '/PeterFiles/pictures/';
else
$baseUrl = '/userfiles/pictures/';
You can expand this to anything that you need, like
$baseUrl = '/userfiles/' . $userName . '/pictures/';
or whatever you need.