allow access to membership to anyone who can list staff
authorAlan Knowles <alan@roojs.com>
Thu, 11 Mar 2021 08:26:39 +0000 (16:26 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Mar 2021 08:26:39 +0000 (16:26 +0800)
DataObjects/Core_group_member.php

index ecbb2db..42ebc1b 100755 (executable)
@@ -88,7 +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);
+    
     }
     
 }