Code

Updated class_plugin.inc
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 08:38:15 +0000 (08:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Sep 2010 08:38:15 +0000 (08:38 +0000)
-Once we've touched an object that matches the users dn ($ui->dn) we've to update ACLs too.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19519 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_plugin.inc

index 6b87896596548b7dcc295b806e7206caf7a2b61e..e1a7853b9622a3716553d6e3c996e245a69101f6 100644 (file)
@@ -1333,6 +1333,7 @@ class plugin
     $ui = session::global_get('ui');
     if($ui->dn == $old_dn){
       $ui->dn = $new_dn;
+      $ui->loadACL();
       session::global_set('ui',$ui);
       new log("view","acl/".get_class($this),$this->dn,array(),"Updated current object dn from '".$old_dn."' to '".$new_dn."'");
     }