Hello,
is it possible to allow images to be resized without allowing them to be deleted?
I'm using CKFinder 2.3.
With this configuration it is not possible to delete nor resize an image:
With this configuration it is possible to resize an image but also to delete it:
I just want to resize an image without allowing its deletion.
I know that this code is in /plugins/imageresize/plugin.php
But would it be feasible to seperate resizing an image from deleting it?
is it possible to allow images to be resized without allowing them to be deleted?
I'm using CKFinder 2.3.
With this configuration it is not possible to delete nor resize an image:
$config['AccessControl'][] = Array( 'role' => '*', 'resourceType' => 'Temp', 'folder' => '/', 'folderView' => true, 'folderCreate' => false, 'folderRename' => false, 'folderDelete' => false, 'fileView' => true, 'fileUpload' => true, 'fileRename' => false, 'fileDelete' => false );
With this configuration it is possible to resize an image but also to delete it:
$config['AccessControl'][] = Array( 'role' => '*', 'resourceType' => 'Temp', 'folder' => '/', 'folderView' => true, 'folderCreate' => false, 'folderRename' => false, 'folderDelete' => false, 'fileView' => true, 'fileUpload' => true, 'fileRename' => false, 'fileDelete' => true );
I just want to resize an image without allowing its deletion.
I know that this code is in /plugins/imageresize/plugin.php
//resizing to 1x1 is almost equal to deleting a file, that's why FILE_DELETE permissions are required if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_DELETE) || !$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_UPLOAD)) {
But would it be feasible to seperate resizing an image from deleting it?