axllent / silverstripe-simplemodeladmin
This package is abandoned and no longer maintained.
No replacement package was suggested.
Simplified ModelAdmin for SilverStripe 3
Package info
github.com/axllent/silverstripe-simplemodeladmin
Type:silverstripe-module
pkg:composer/axllent/silverstripe-simplemodeladmin
1.0.0
2016-01-05 03:26 UTC
Requires
- silverstripe/cms: 3.*
This package is auto-updated.
Last update: 2023-05-27 20:11:52 UTC
README
This is a "trimmed down" version of Silverstripe's ModelAdmin, the differences being:
- Import, Export & Print functionality has been removed
- Filtering has been removed
- By default, column sorting has been disabled
Requirements
- SilverStripe 3.0+
Usage
class MyDataObject_ModelAdmin extends SimpleModelAdmin {
...
public function canView() {
return Permission::check('CMS_ACCESS_CMSMain', 'any', $member);
}
}
Note
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.