I am trying to control access based on the ACLs.
So I have a directory, dir, with an images folder since that's all I allow. Within the images folder are additional folders.
-dir
-images
-folder1
-folder2
-folder3
If say I have a role called role1, where they were allowed full permissions, but only within folder1. In addition, I would like to hide all other folders that are not folder1 or any of folder 1's subdirectories
I've tried things like
$config['AccessControl'][] = Array(
'role' => 'role1',
'resourceType' => '*',
'folder' => 'folder1',
'folderView' => false);
but that doesn't seem to achieve what I described above. Any ideas?