File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2424}
2525
2626/**
27- * Probably the most simple and fastest Acl out there.
28- * Only one config file `acl.ini` necessary
29- * Doesn 't even need a Role Model / roles table
30- * Uses most persistent _cake_core_ cache by default
27+ * Probably the most simple and fastest ACL out there.
28+ * Only one config file `acl.ini` necessary,
29+ * doesn 't even need a Roles Table / roles table.
30+ * Uses most persistent _cake_core_ cache by default.
3131 * @link http://www.dereuromark.de/2011/12/18/tinyauth-the-fastest-and-easiest-authorization-for-cake2
3232 *
3333 * Usage:
34- * Include it in your beforeFilter() method of the AppController
35- * $this->Auth-> authorize = array( 'Tools.Tiny');
34+ * Include it in your beforeFilter() method of the AppController with the following config:
35+ * ' authorize' => [ 'Tools.Tiny']
3636 *
3737 * Or with admin prefix protection only
38- * $this->Auth-> authorize = array( 'Tools.Tiny' => array( 'allowUser' => true)) ;
38+ * ' authorize' => [ 'Tools.Tiny' => [ 'allowUser' => true]] ;
3939 *
4040 * @author Mark Scherer
4141 * @license MIT
You can’t perform that action at this time.
0 commit comments