2017 © Pedro Peláez
 

silverstripe-module silverstripe-simplemodeladmin

Simplified ModelAdmin for SilverStripe 3

image

axllent/silverstripe-simplemodeladmin

Simplified ModelAdmin for SilverStripe 3

  • Tuesday, February 6, 2018
  • by axllent
  • Repository
  • 1 Watchers
  • 3 Stars
  • 188 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Simple ModelAdmin for SilverStripe 3

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, (*1)

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., (*2)

The Versions

06/02 2018

dev-master

9999999-dev https://github.com/axllent/silverstripe-simplemodeladmin

Simplified ModelAdmin for SilverStripe 3

  Sources   Download

MIT The MIT License (MIT)

The Requires

 

cms silverstripe modeladmin

05/01 2016

1.0.0

1.0.0.0 https://github.com/axllent/silverstripe-simplemodeladmin

Simplified ModelAdmin for SilverStripe 3

  Sources   Download

The MIT License (MIT)

The Requires

 

cms silverstripe modeladmin