We are looking for web file manager for our our internal application developed in .NET framework. We're testing CKFinder. We have a lot of users. So, to organize folders and files, I configure CKFnider to create separated folders for each users.
So, for normal users I set theBaseURL like this:
- theBaseURL = "/ckfinder/userfiles/" + departmentId + "/"+ userId;
It works fine. Users have their own folders, like this:
"/ckfinder/userfiles/departmentB/12Images/"
"/ckfinder/userfiles/departmentB/12Files/"
"/ckfinder/userfiles/departmentA/13Images/"
"/ckfinder/userfiles/departmentA/13Files/"
and so on.
But how I can let department head see all sub folder under his department. Let's say a user "userA" is head of department A. So, I want him to browse all subs folder under "/ckfinder/userfiles/departmentA/"
How to allow "Admin" see and browse the folders under "/ckfinder/userfiles/"
Thank you.
So, for normal users I set theBaseURL like this:
- theBaseURL = "/ckfinder/userfiles/" + departmentId + "/"+ userId;
It works fine. Users have their own folders, like this:
"/ckfinder/userfiles/departmentB/12Images/"
"/ckfinder/userfiles/departmentB/12Files/"
"/ckfinder/userfiles/departmentA/13Images/"
"/ckfinder/userfiles/departmentA/13Files/"
and so on.
But how I can let department head see all sub folder under his department. Let's say a user "userA" is head of department A. So, I want him to browse all subs folder under "/ckfinder/userfiles/departmentA/"
How to allow "Admin" see and browse the folders under "/ckfinder/userfiles/"
Thank you.
Re: Allow admin to see all sub folders
Sorry for the late reply. That's (easily) doable with CKFinder, especially with the folder structure that you're using. Use session variables in config.ascx to set BaseDir and BaseUrl.
E.g. when admin loggs in, set Session[ "CKFinder_BaseDir" ] and Session[ "CKFinder_BaseUrl" ] to point him to
"/ckfinder/userfiles/departmentB/". Then, in config.ascx
use something like:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+