LSselect : Added feature to filter object selection that can't be modified by user
[ldapsaisie.git] / trunk / includes / class / class.LSselect.php
index 266b76f..0916a6b 100644 (file)
@@ -82,6 +82,10 @@ class LSselect {
       LSerror :: addErrorCode('LSsession_12');
     }
   }
+  
+  public static function selectablly($obj,$args) {
+    return (LSsession::canEdit($obj->type,$obj->dn,$args))?1:0;
+  }
 }
 
 ?>