X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_divListSystem.inc;h=34dfaac5cd5c3a36f6f08feca84bf646618fceb7;hb=ecabf2056dc1350d73115d5fa226676be30017d6;hp=7544aceaef882cc5ee5d91f64f64a1b6890a8109;hpb=5e02fcb3213ba79f05405d9bc471ee6b31fab439;p=gosa.git
diff --git a/plugins/admin/systems/class_divListSystem.inc b/plugins/admin/systems/class_divListSystem.inc
index 7544aceae..34dfaac5c 100644
--- a/plugins/admin/systems/class_divListSystem.inc
+++ b/plugins/admin/systems/class_divListSystem.inc
@@ -102,7 +102,6 @@ class divListSystem extends MultiSelectWindow
$ui= get_userinfo();
$department = array();
foreach($this->module as $module){
-
$d = $ui->get_module_departments($module);
foreach($d as $department){
$departments[$department] = $department;
@@ -123,6 +122,17 @@ class divListSystem extends MultiSelectWindow
}
}
+ /* If there is at least one c (Create) and one w (Write) acl in this combination
+ display the snapshot paste icon. BUT check the correct acls in the management plugin */
+ $all_module_acls = "";
+ foreach($this->module as $module){
+ $all_module_acls .= $ui->has_complete_category_acls($this->selectedBase,$module);
+ }
+
+ /* Must we add an additional seperator */
+ $add_sep = false;
+
+ /* Add the basic icons for navigation */
$listhead = "