2017 © Pedro Peláez
 

library jvs-acl

Zend\Acl module to Zend Framework 2

image

marcusamatos/jvs-acl

Zend\Acl module to Zend Framework 2

  • Tuesday, June 3, 2014
  • by marcusamatos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

JvsAcl - Simple acl security for ZF2

This module provide a simple acl controller for zf2. This module can be used with Doctrin ORM. This is very simple, only implement the JvsAcl\Entity\UserGroupProviderInterface., (*1)

Requirements

Installation

  1. Add this project in your composer.json:
"required": {
    "marcusamatos/jvs-acl": "1.*"
}
  1. Enabling ir in your application.config.php file.
return array(
    'modules' => array(
        #[...]
        'JvsAcl'
        #[...]
    );
);
  1. Add \JvsAcl\Entity\GroupProviderInterface to your user entity, (*2)

  2. Add in module.config.php, (*3)

return array(
    #[...]
    'jvs-acl' => array(
        'groups' => array(
            'guest',
            'member' => array('name' => 'Member', 'parent' => 'guest', 'visible' => true),
            'admin' => array('name' => 'Administrator', 'parent' => 'member', 'visible' => true),
            'developer' => array('name' => 'Developer', 'parent' => 'admin')
        ),
        'controllers' => array(
            'Application\Controller\Index' => array(
                'guest' => 'allow'
            ),
            'Application\Controller\Auth' => array(
                'guest' => array(
                    'allow' => array('index', 'forgetPassword')
                )
            ),
            'Admin\Controller\Index' => array(
                'admin'
            ),
        )
    )
    #[...]
);

The Versions

03/06 2014

dev-master

9999999-dev https://github.com/marcusamatos/JvsAcl

Zend\Acl module to Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

acl zf2

03/06 2014

1.0.4

1.0.4.0 https://github.com/marcusamatos/JvsAcl

Zend\Acl module to Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

acl zf2

29/05 2014

1.0.3

1.0.3.0 https://github.com/marcusamatos/JvsAcl

Zend\Acl module to Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

acl zf2

29/05 2014

1.0.2

1.0.2.0 https://github.com/marcusamatos/JvsAcl

Zend\Acl module to Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

acl zf2

29/05 2014

1.0.0

1.0.0.0 https://github.com/marcusamatos/JvsAcl

Zend\Acl module to Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

acl zf2

29/05 2014

1.0.1

1.0.1.0 https://github.com/marcusamatos/JvsAcl

Zend\Acl module to Zend Framework 2

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

acl zf2