jaztec/jaztec-acl

Database driven ACL module for ZF2

0.2 2015-03-17 23:36 UTC

This package is not auto-updated.

Last update: 2024-03-16 12:01:56 UTC


README

Build Status

Simple database driven ACL module for ZF2.

Installation

You can install the module with composer using

./composer.phar require jaztec/jaztec-acl

or include it in the composer.json of your project with

{
    "require": {
        "jaztec/jaztec-base": "0.1.*",
        "jaztec/jaztec-acl": "0.1.*"
    }
}

After installation make sure your database setup is completed. For a clean install run:

./php public/index.php acl database clean-install --email=[your_email] [--verbose|-v]

Or, after updating the source code:

[site_root]./php public/index.php acl database update [--verbose|-v]

Congratulations, the ACL module has been installed. If you performed a clean install a user will have been added with username 'admin' and password 'admin'

For any help using the console functions

[site_root]./php public/index.php acl database --help