summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 42ef63d)
raw | patch | inline | side by side (parent: 42ef63d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Oct 2010 07:01:37 +0000 (07:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 8 Oct 2010 07:01:37 +0000 (07:01 +0000) |
-Allow to select another base without having move permissions
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19943 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19943 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index c677268d0f5af813a001f606cb068e4963ada0f6..619e120252ae991cec051fb295c0ba7bf225e2ef 100644 (file)
plugin::save_object ();
/* Refresh base */
- if ($this->acl_is_moveable($this->base)){
+ if ($this->acl_is_moveable($this->base) ||
+ ($this->dn == "new" && $this->acl_is_createable($this->base))){
if (!$this->baseSelector->update()) {
msg_dialog::display(_("Error"), msgPool::permMove(), ERROR_DIALOG);
}