Code

Fixed terminal service
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Sep 2006 06:55:14 +0000 (06:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 Sep 2006 06:55:14 +0000 (06:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4773 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_goTerminalServer.inc

index d6fa3ac935e2b4d0c276e8362fec67a4a949163f..017c7476ddb2337aff3e94caa922392ea5953822 100644 (file)
@@ -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;
+        }
       }
     }
   }