I know you have have different settings per role, but I wish to have only one role but have different settings per resource.
For example, I want the files to only be browsable so a user can link to different pages but not upload files.
Yet I want users to be able to upload images to a different directory.
Any ideas?
Thank you.
For example, I want the files to only be browsable so a user can link to different pages but not upload files.
Yet I want users to be able to upload images to a different directory.
Any ideas?
Thank you.
Re: Different Access settings for each resourceType
Re: Different Access settings for each resourceType
Here would be an example of the logic, but with obvious wrong syntax....
$config['AccessControl'][] = Array(
'role' => '*',
'resourceType' => 'Images',
'folder' => '/Logos',
'fileUpload' => true,
'fileRename' => false,
'fileDelete' => false,
'resourceType' => 'Files',
'folder' => '/files',
'fileUpload' => false,
'fileRename' => false,
'fileDelete' => false,
);
I am considering a work-around to limit the upload size of the Files resource to be 1.
Thanks for your response.
Re: Different Access settings for each resourceType
Hope this helps and thank you all.