X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_divListSystem.inc;h=42ce4cbcee7315408c546461e1c513d8e1411cc1;hb=d9f1895952e9b02c1b0c398cc5dc09b88178e603;hp=9d732b212e45a718e8e667442c171d40f5aeaaa3;hpb=8d25a981707ac7e708aca0ed6216c5379a1228f8;p=gosa.git
diff --git a/plugins/admin/systems/class_divListSystem.inc b/plugins/admin/systems/class_divListSystem.inc
index 9d732b212..42ce4cbce 100644
--- a/plugins/admin/systems/class_divListSystem.inc
+++ b/plugins/admin/systems/class_divListSystem.inc
@@ -131,14 +131,20 @@ class divListSystem extends MultiSelectWindow
$img10 = "
";
$empty =" ";
- $action= "";
- $action.= "";
-
// User and Template Images
$editlink = "%s";
// Test Every Entry and generate divlist Array
foreach($terminals as $key => $val){
+
+ $acl= get_permissions ($val['dn'], $this->ui->subtreeACL);
+ $acl= get_module_permission($acl, "terminal", $val['dn']);
+
+ $action= "";
+ if(chkacl($acl,"delete") ==""){
+ $action.= "";
+ }
+
/* Generate picture list, which is currently disabled */
if(in_array("goCupsServer" ,$val['objectClass'])) $cups = $img1; else $cups =$empty;
@@ -168,7 +174,7 @@ class divListSystem extends MultiSelectWindow
$display= $val["cn"][0].$dsc;
}
- if((in_array("gotoTerminal",$val['objectClass']))||(in_array("gotoWorkstation",$val['objectClass']))){
+ if(((in_array("gotoTerminal",$val['objectClass']))||(in_array("gotoWorkstation",$val['objectClass']))) && chkacl($acl,"password") == ""){
$action2 = "";
}else{
$action2 = "";