MTrackWeb/Roo.php
authorAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 02:54:39 +0000 (10:54 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 02:54:39 +0000 (10:54 +0800)
MTrackWeb/Roo.php

index aaba7b2..45e6843 100644 (file)
@@ -55,10 +55,9 @@ class MTrackWeb_Roo extends Pman_Roo
                 return $res;
             }
         }
+        // not authenticated...
+        
         
-        if ($this->authUser && $this->authUser->company()->comptype == 'OWNER') {
-            return true;
-        }
         // these checks only apply to non-company users.
         
         // normally allowed, but we have more restrictions...