DataObjects/Core_event_audit.php
[Pman.Core] / DataObjects / Group_Rights.php
index 5020641..30f2325 100755 (executable)
@@ -121,6 +121,7 @@ class Pman_Core_DataObjects_Group_Rights extends DB_DataObject
             }
             $ar = (array)json_decode(file_get_contents($fn));
             if (empty($ar)) {
+                // since these are critical files.. die'ing with error is ok.
                 die("invalid json file: " . $fn);
                }
            // echo '<PRE>';print_r($ar);
@@ -167,7 +168,7 @@ class Pman_Core_DataObjects_Group_Rights extends DB_DataObject
                 break;
                 
             default:
-                $this->AccessMask = $this->mergeMask($this->AccessMask, $defs[$this->rightname][1]);
+                //$this->AccessMask = $this->mergeMask($this->AccessMask, $defs[$this->rightname][1]);
                 break;
         
         }