allow access to membership to anyone who can list staff
[Pman.Core] / DataObjects / Core_group_member.php
index 9b83d28..42ebc1b 100755 (executable)
@@ -88,13 +88,9 @@ class Pman_Core_DataObjects_Core_group_member extends DB_DataObject
     
     function checkPerm($lvl, $au) 
     {
-        return false;
-    }
+        // not sure if this is correct - but we need it on texon
+        return  $au->hasPerm("Core.Staff", $lvl);
     
-    function beforeInsert($q, $roo)
-    {
-        
     }
     
-   
 }