From 4cab525094fc5ea980305a8153564a818a523f64 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Sep 2006 06:55:14 +0000 Subject: [PATCH] Fixed terminal service git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4773 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goTerminalServer.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/admin/systems/class_goTerminalServer.inc b/plugins/admin/systems/class_goTerminalServer.inc index d6fa3ac93..017c7476d 100644 --- a/plugins/admin/systems/class_goTerminalServer.inc +++ b/plugins/admin/systems/class_goTerminalServer.inc @@ -99,10 +99,12 @@ class goTerminalServer extends goService{ { if(isset($_POST['goTerminalServerPosted'])){ plugin::save_object(); - if(isset($_POST['goXdmcpIsEnabled'])){ - $this->goXdmcpIsEnabled = true; - }else{ - $this->goXdmcpIsEnabled = false; + if($this->acl_is_writeable("goXdmcpIsEnabled")){ + if(isset($_POST['goXdmcpIsEnabled'])){ + $this->goXdmcpIsEnabled = true; + }else{ + $this->goXdmcpIsEnabled = false; + } } } } -- 2.30.2