Revert call to setCheckModelPermissions()

This commit is contained in:
Simon Welsh 2013-05-25 13:56:02 +12:00
parent 9c1a69ae08
commit e8f6b416d7

View File

@ -158,8 +158,7 @@ JS
GridFieldLevelup::create($folder->ID)->setLinkSpec('admin/assets/show/%d')
);
$gridField = GridField::create('File', $title, $this->getList(), $gridFieldConfig)
->setCheckModelPermissions(true);
$gridField = GridField::create('File', $title, $this->getList(), $gridFieldConfig);
$columns = $gridField->getConfig()->getComponentByType('GridFieldDataColumns');
$columns->setDisplayFields(array(
'StripThumbnail' => '',