projects
/
ldapsaisie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LSselect : Added feature to filter object selection that can't be modified by user
[ldapsaisie.git]
/
trunk
/
includes
/
class
/
class.LSselect.php
diff --git
a/trunk/includes/class/class.LSselect.php
b/trunk/includes/class/class.LSselect.php
index
266b76f
..
0916a6b
100644
(file)
--- a/
trunk/includes/class/class.LSselect.php
+++ b/
trunk/includes/class/class.LSselect.php
@@
-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;
+ }
}
?>