mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Fixed too strict permission checking on Image::$allowed_actions. Replaced broken * permission check with explicit method names
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@73301 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
359eb306f6
commit
22a1bf8781
@ -478,7 +478,10 @@ class Image_Uploader extends Controller {
|
||||
);
|
||||
|
||||
static $allowed_actions = array(
|
||||
'*' => 'CMS_ACCESS_CMSMain'
|
||||
'iframe' => 'CMS_ACCESS_CMSMain',
|
||||
'flush' => 'CMS_ACCESS_CMSMain',
|
||||
'save' => 'CMS_ACCESS_CMSMain',
|
||||
'delete' => 'CMS_ACCESS_CMSMain'
|
||||
);
|
||||
|
||||
function init() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user