From b60705e5a8047f24c551a17ab8f28a9c9d1adc15 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 23 Mar 2010 13:12:36 +0000 Subject: [PATCH] updated templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17024 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_SelectDeviceType.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc index 9e1c10975..9132f1f35 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc @@ -95,6 +95,14 @@ class SelectDeviceType extends plugin function save() { } + + function acl_is_writeable($attribute,$skip_write = FALSE) + { + if($this->read_only) return(FALSE); + $ui= get_userinfo(); + return preg_match('/w/', $ui->get_permissions($this->acl_base, $this->acl_category."systemManagement", $attribute, $skip_write)); + } + } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2