josegonzalez/cakephp-annotation-control-list

ACL system based on annotations for CakePHP

3.0.0 2016-02-05 07:49 UTC

This package is auto-updated.

Last update: 2024-10-29 04:41:54 UTC


README

Build Status Coverage Status Total Downloads Latest Stable Version Documentation Status Gratipay

AnnotationControlList Plugin

A simple, annotation-based ACL System for CakePHP

Background

For the CakePHP book I wrote, I thought it would make sense to showcase to users how they might come up with an alternative to the ACL system that comes with CakePHP. As annotations are an interesting way of adding attributes to actions - and it's relatively easy to modify during application development - I decided that a method to do so via annotations would be the way to go.

Requirements

  • PHP 5.6+
  • CakePHP 3.2+

Documentation

For documentation, please see the the docs.

License

The MIT License (MIT)

Copyright (c) 2014 Jose Diaz-Gonzalez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.