Skip to content
Permalink
Browse files

adding in simple doc for db_acl

  • Loading branch information...
h4ck3rm1k3 committed Mar 2, 2014
1 parent a17345c commit 316def45cbe615117d7b014e91b6786d15a7138a
Showing with 10 additions and 0 deletions.
  1. +10 −0 app/Config/Schema/db_acl.php
@@ -33,6 +33,9 @@ public function before($event = array()) {
public function after($event = array()) {
}
/**
* ACO - Access Control Object - Something that is wanted
*/
public $acos = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
'parent_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
@@ -44,6 +47,9 @@ public function after($event = array()) {
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
);
/**
* ARO - Access Request Object - Something that wants something
*/
public $aros = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
'parent_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 10),
@@ -55,6 +61,10 @@ public function after($event = array()) {
'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1))
);
/**
* Used by the Cake::Model:Permission class.
* Checks if the given $aro has access to action $action in $aco.
*/
public $aros_acos = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 10, 'key' => 'primary'),
'aro_id' => array('type' => 'integer', 'null' => false, 'length' => 10, 'key' => 'index'),

0 comments on commit 316def4

Please sign in to comment.
You can’t perform that action at this time.