eye4web / eye4web-zf2-board-abac
Integration between Eye4web\Zf2Board and \Eye4web\Zf2Abac
Installs: 17 649
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 1
Requires
- php: >=5.4
- eye4web/eye4web-zf2-abac: dev-master
- zendframework/zendframework: ~2.3|~3.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpmd/phpmd: 1.4.*
- phpunit/phpunit: 4.*
- squizlabs/php_codesniffer: 1.5.*
- zendframework/zend-captcha: ~2.1
This package is not auto-updated.
Last update: 2024-10-26 16:20:46 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
-
Add this project composer.json:
"require": { "eye4web/eye4web-zf2-board-abac": "dev-master" }
-
Now tell composer to download the module by running the command:
$ php composer.phar update
-
Enable it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'Eye4web\Zf2BoardAbac' ), // ... );
-
Creating permission groups
You are now able to use the assertions:
- board.read
- topic.read
- topic.write
- post.write
- post.edit
- post.delete