Code

Added is_movealbe
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Jul 2006 06:06:11 +0000 (06:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Jul 2006 06:06:11 +0000 (06:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4214 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index 4af12c52e799d03c0a7eb9815a3cbf4f5b8e0ecb..18b8867f459abd084c3ff62b7305e568cc0b2a3c 100644 (file)
@@ -1426,6 +1426,12 @@ echo "FIXME: remove_snapshot uses old acl's<br>";
     return preg_match('/d/', $ui->get_permissions($this->dn, get_class($this), '0'));
   }
 
+
+  function acl_is_moveable()
+  {
+    $ui= get_userinfo();
+    return preg_match('/m/', $ui->get_permissions($this->dn, get_class($this), '0'));
+  }
 }
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
 ?>