includes/sessions.php
changeset 1157 e154e8176700
parent 1155 a1770361ef88
child 1160 c0e0a1787a63
equal deleted inserted replaced
1156:417e66a664d0 1157:e154e8176700
  3370       {
  3370       {
  3371         $b = $deps;
  3371         $b = $deps;
  3372         if ( !$this->check_acl_scope($deps[$i], $paths->namespace) )
  3372         if ( !$this->check_acl_scope($deps[$i], $paths->namespace) )
  3373         {
  3373         {
  3374           // Action $type depends on action $deps[$i] which cannot be satisfied because $deps[$i] is out of scope.
  3374           // Action $type depends on action $deps[$i] which cannot be satisfied because $deps[$i] is out of scope.
       
  3375           // echo '<pre>' . enano_debug_print_backtrace(true) . '</pre>';
  3375           trigger_error("acl_check_deps: $type depends on {$deps[$i]} which is not within scope of $paths->namespace; this indicats a bug in ACL rule specification", E_USER_WARNING);
  3376           trigger_error("acl_check_deps: $type depends on {$deps[$i]} which is not within scope of $paths->namespace; this indicats a bug in ACL rule specification", E_USER_WARNING);
  3376           return false;
  3377           return false;
  3377         }
  3378         }
  3378         $deps = array_merge($deps, $this->acl_deps[$deps[$i]]);
  3379         $deps = array_merge($deps, $this->acl_deps[$deps[$i]]);
  3379         if( $b == $deps )
  3380         if( $b == $deps )