mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merged revisions 52933 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity ........ r52933 | sminnee | 2008-04-17 18:37:21 +1200 (Thu, 17 Apr 2008) | 1 line ImageUploader fields are accessible by CMS_ACCESS_CMSMain, rather than ADMIN ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53493 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5c5c93c412
commit
b836bc7825
@ -451,7 +451,7 @@ class Image_Uploader extends Controller {
|
|||||||
* Ensures the css is loaded for the iframe.
|
* Ensures the css is loaded for the iframe.
|
||||||
*/
|
*/
|
||||||
function iframe() {
|
function iframe() {
|
||||||
if(!Permission::check('ADMIN')) Security::permissionFailure($this);
|
if(!Permission::check('CMS_ACCESS_CMSMain')) Security::permissionFailure($this);
|
||||||
|
|
||||||
Requirements::css("cms/css/Image_iframe.css");
|
Requirements::css("cms/css/Image_iframe.css");
|
||||||
return array();
|
return array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user