eye4web/eye4web-zf2-board-abac

Integration between Eye4web\Zf2Board and \Eye4web\Zf2Abac

dev-master 2016-07-29 22:04 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:01:53 UTC


README

Introduction

This module will integrate Eye4web\Zf2Board and Eye4web\Zf2Abac, and also setup assertions for:

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

Installation

With composer

  1. Add this project composer.json:

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

    $ php composer.phar update
  3. Enable it in your application.config.php file.

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

You are now able to use the assertions:

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

Dependencies

Eye4web\Zf2Abac