I've got CKfinder intergrated into FCKeditor and all working in Drupal. What I need to do now is give certain AccessControl to the different Roles in Drupal, but how? I assume this is done within the CKfinder config.php file, (or perhaps the 'core/config.php' file) but I'm not sure how to do it.
Ideally, I have a 'role' in drupal set up specifically as 'CKfinder_full' and 'CKfinder_browse'. I want the authentication in CKfinder to check for these roles and give AccessControl accordingly. (Similar to what is in FCKeditor)
Ideally, I have a 'role' in drupal set up specifically as 'CKfinder_full' and 'CKfinder_browse'. I want the authentication in CKfinder to check for these roles and give AccessControl accordingly. (Similar to what is in FCKeditor)
Re: CheckAuthentication: Drupal Role access
In the meantime quick hack for you:
Download the latest version of FCKeditor module (5.x-2.1-beta) and take a look at the attached filemanager.config.php.
There is a ready to use CheckAuthentication() function. You could port this function to CKFinder.
Once the Drupal environment is set up, the following line is crucial:
What you could do, is to add in fckeditor.module:
so that you could assign the right permissions to the CKFinder (in admin/user/access, fckeditor section).
Here's the sample config.php I have used for CKFinder.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: CheckAuthentication: Drupal Role access
Re: CheckAuthentication: Drupal Role access
Re: CheckAuthentication: Drupal Role access