From 55d04432e91f3473303d549f5314f6baf1cf0dfe Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 Jul 2006 06:06:11 +0000 Subject: [PATCH] Added is_movealbe git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 4af12c52e..18b8867f4 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1426,6 +1426,12 @@ echo "FIXME: remove_snapshot uses old acl's
"; 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: ?> -- 2.30.2