This is a "trimmed down" version of Silverstripe's ModelAdmin, the differences being:
class MyDataObject_ModelAdmin extends SimpleModelAdmin { ... public function canView() { return Permission::check('CMS_ACCESS_CMSMain', 'any', $member); } }
Whilst ModelAdmin does inherit the model permissions, your extension of the SimpleModelAdmin
requires it's own canView permissions as this does not add a separate entity into the CMS
Access security section.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem