2017 © Pedro Peláez
 

library eye4web-zf2-board-abac

Integration between Eye4web\Zf2Board and \Eye4web\Zf2Abac

image

eye4web/eye4web-zf2-board-abac

Integration between Eye4web\Zf2Board and \Eye4web\Zf2Abac

  • Saturday, July 30, 2016
  • by Danielss89
  • Repository
  • 2 Watchers
  • 0 Stars
  • 7,587 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

Eye4web\Zf2BoardAbac

Introduction

This module will integrate Eye4web\Zf2Board and Eye4web\Zf2Abac, and also setup assertions for:, (*1)

  • Reading boards
  • Reading/writing topics
  • Writing/editing/deleting posts

Installation

With composer

  1. Add this project composer.json:, (*2)

    "require": {
        "eye4web/eye4web-zf2-board-abac": "dev-master"
    }
    
  2. Now tell composer to download the module by running the command:, (*3)

    $ php composer.phar update
    
  3. Enable it in your application.config.php file., (*4)

    <?php
    return array(
        'modules' => array(
            // ...
            'Eye4web\Zf2BoardAbac'
        ),
        // ...
    );
    
  4. Creating permission groups, (*5)

You are now able to use the assertions:, (*6)

  • board.read
  • topic.read
  • topic.write
  • post.write
  • post.edit
  • post.delete

Dependencies

Eye4web\Zf2Abac, (*7)

The Versions