2017 © Pedro Peláez
 

silverstripe-module silverstripe-standard-permissions

Standard permissions module for SilverStripe CMS

image

salted-herring/silverstripe-standard-permissions

Standard permissions module for SilverStripe CMS

  • Wednesday, April 11, 2018
  • by saltedherring
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,439 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

silverstripe-standard-permissions

Scrutinizer Code Quality Build Status, (*1)

Implements Silverstripe's standard permissions (canCreate, canEdit, canDelete, and canView), (*2)

Install

The module can be installed via composer:, (*3)

composer require salted-herring/silverstripe-standard-permissions

Usage

Any object that needs to use permissions, should do two things:, (*4)

  1. Setup the yaml configuration to provide the permissions:
PublishProvider:
  classes:
    - Page
  1. The class you're using should also extend PublishProvider:
class Page {
  ...
  private static $extensions = [
    'PublishProvider'
  ];
  ...
}

The Versions

11/04 2018

dev-master

9999999-dev https://github.com/salted-herring/silverstripe-standard-permissions

Standard permissions module for SilverStripe CMS

  Sources   Download

MIT

The Requires

 

silverstripe permission

11/04 2018

2.0.0

2.0.0.0 https://github.com/salted-herring/silverstripe-standard-permissions

Standard permissions module for SilverStripe CMS

  Sources   Download

MIT

The Requires

 

silverstripe permission

08/04 2016

1.0.0

1.0.0.0 https://github.com/salted-herring/silverstripe-standard-permissions

Standar permissions module for SilverStripe CMS

  Sources   Download

MIT

The Requires

 

silverstripe permission