mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Using $allowed_actions in ImageEditor (Merged from r73248)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@73284 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5ed106ea84
commit
d08562661e
@ -6,6 +6,10 @@
|
|||||||
*/
|
*/
|
||||||
class ImageEditor extends Controller {
|
class ImageEditor extends Controller {
|
||||||
|
|
||||||
|
static $allowed_actions = array(
|
||||||
|
'*' => 'CMS_ACCESS_CMSMain'
|
||||||
|
);
|
||||||
|
|
||||||
public $fileToEdit = "";
|
public $fileToEdit = "";
|
||||||
|
|
||||||
public $fileToEditOnlyName = "";
|
public $fileToEditOnlyName = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user