From: hickert Date: Tue, 11 Nov 2008 09:13:26 +0000 (+0000) Subject: Updated ACL check for copy&paste action menu entries X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7ed542ca4ed7cd0a62e82b783ca51f4d41dad426;p=gosa.git Updated ACL check for copy&paste action menu entries git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12999 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/applications/class_divListApplication.inc b/gosa-plugins/goto/admin/applications/class_divListApplication.inc index 18a79c93e..bc4ae488f 100644 --- a/gosa-plugins/goto/admin/applications/class_divListApplication.inc +++ b/gosa-plugins/goto/admin/applications/class_divListApplication.inc @@ -120,10 +120,13 @@ class divListApplication extends MultiSelectWindow " "._("Remove")."|"."remove_multiple|\n"; /* Add Copy & Paste header */ - $s .= $this->parent->get_copypaste_header($this->selectedBase,$this->module); - - /* Add snapshot icons */ - $s .= $this->parent->get_snapshot_header($this->selectedBase,$this->module); + if($this->parent->IsReleaseManagementActivated()){ + $s .= $this->parent->get_copypaste_header($this->acl_base,$this->module); + $s .= $this->parent->get_snapshot_header($this->acl_base,$this->module); + }else{ + $s .= $this->parent->get_copypaste_header($this->selectedBase,$this->module); + $s .= $this->parent->get_snapshot_header($this->selectedBase,$this->module); + } $this->SetDropDownHeaderMenu($s); $this->SetListHeader($listhead);