summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9391c11)
raw | patch | inline | side by side (parent: 9391c11)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Apr 2010 09:38:33 +0000 (09:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Apr 2010 09:38:33 +0000 (09:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17507 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/trustModeDialog/class_trustModeDialog.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/trustModeDialog/class_trustModeDialog.inc b/gosa-core/plugins/personal/posix/trustModeDialog/class_trustModeDialog.inc
index 9f97cabf1ab0ba2a7a62b6bf15caedaae30a0e9c..b6ccf9caac64c6c6296c0d339d9bbc30b6e898f5 100644 (file)
}
$this->initially_was_account = $this->is_account;
+ }
+ public function PrepareForCopyPaste($source)
+ {
+ $this->accessTo = array();
+ $this->trustModel= "";
+ $this->is_account = FALSE;
+ if(isset($source['trustModel'][0])){
+ $this->is_account = TRUE;
+ $this->trustModel= $source['trustModel'][0];
+ if (isset($source['accessTo'])){
+ for ($i= 0; $i<$source['accessTo']['count']; $i++){
+ $tmp= $source['accessTo'][$i];
+ $this->accessTo[$tmp]= $tmp;
+ }
+ }
+ }
}
public function setAcl($acl)