slightly better perm wanring
authorAlan <alan@roojs.com>
Tue, 3 Jan 2023 03:14:30 +0000 (11:14 +0800)
committerAlan <alan@roojs.com>
Tue, 3 Jan 2023 03:14:30 +0000 (11:14 +0800)
Pman/Roo.php

index e655944..f161ba3 100644 (file)
@@ -931,7 +931,7 @@ class Pman_Roo extends Pman
         }
 
         if ( $with_perm_check &&  !$this->checkPerm($x,'A', $req))  {
-            $this->jerr("PERMISSION DENIED (i)");
+            $this->jerr("PERMISSION DENIED {$x->tableName()}:checkPerm(A)");
         }
         $cols = $x->tableColumns();