Hello! I have a problem with "Access control"! First I created admin with name "full_admin" and put it into $_SESSION[...]... then add code into config.php:
$config['AccessControl'][] = Array(
'role' => 'full_admin',
'resourceType' => 'Images',
'folder' => '/',
'folderView' => true,
'folderCreate' => true,
'folderRename' => true,
'folderDelete' => true,
'fileView' => true,
'fileUpload' => true,
'fileRename' => true,
'fileDelete' => true);
It`s work! I can see:
-Images
-Logos
folder4
folder7
folder123
Basket
Then I add code into config.php as in manual (If you want to restrict the upload, renaming, or deletion of files in the Logos
folder of the resource type Images
, use the following ACL settings.):
$config['AccessControl'][] = Array(
'role' => 'full_admin',
'resourceType' => 'Images',
'folder' => '/Logos',
'folderView' => true,
'folderCreate' => true,
'folderRename' => true,
'folderDelete' => true,
'fileView' => true,
'fileUpload' => true,
'fileRename' => true,
'fileDelete' => true);
But I can see "Basket" only ! Why!?
hi! did you find a solution
hi! did you find a solution for this one?
Same problem!
I am stuck with this! Has anyone resolve it?
I am trying the Demo, if this does not work I cannot take risk to buy the license!
To get desired result (access
To get desired result (access to Logos folder only) you would have to use the below:
On one hand this makes perfect sense. You can't get access to subfolder without having access to parent folder. On the other hand we understand that this can be cumbersome to specify ACL like this thus I have reported an issue in our internal track and will be checking this behaviour.
NOTE: Since you have got access to one folder only, you will probably want to avoid all you don't have permissions alerts thus you might also want to use:
Described in API:
http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.startupFolderExpanded
http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.config.html#.startupPath
EDIT:
I have checked this issue and IMHO this behaviour is correct. You always have to specify ACL for resource type which is treated as root folder for particular category. If you don't do that CKFinder will treat all ACL settings as set to false and since all is false (even read) you can't access main folder or any of its subfolders. Good news is that you have to specify ACL for resource type and then any folder you like. If you have e.g. Images:/Logos/Logos2 then your setting will look like below (no extra setting for Logos is needed)