From: hickert Date: Wed, 19 Jul 2006 06:06:11 +0000 (+0000) Subject: Added is_movealbe X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=55d04432e91f3473303d549f5314f6baf1cf0dfe;p=gosa.git Added is_movealbe git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4214 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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: ?>