summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e825ddf)
raw | patch | inline | side by side (parent: e825ddf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 8 Nov 2006 11:26:14 +0000 (11:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 8 Nov 2006 11:26:14 +0000 (11:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5042 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/groups/class_groupManagement.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupManagement.inc b/plugins/admin/groups/class_groupManagement.inc
index 7158c1090fa0f3831170097f221858dedcda69f6..d3af7a032014ba94f3d0f401d765d7c1692e3c49 100644 (file)
/* Save user data to ldap */
$this->grouptab->save();
- gosa_log ("Group object'".$this->dn."' has been saved");
+ gosa_log ("Group object '".$this->dn."' has been saved");
if (!isset($_POST['edit_apply'])){
/* Group has been saved successfully, remove lock from LDAP. */
*/
if($s_action == "copy"){
- $dn = $this->grouplist[trim($s_entry)]['dn'];
+ $dn = $this->grouplist[trim($s_entry)]['dn'];
$acl = $this->ui->get_permissions($dn,"groups/group");
if(preg_match("/(c.*w|w.*c)/",$acl)){
$obj = new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $dn);
$obj->set_acl_base($dn);
$objNew = new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], "new");
- $obj->set_acl_base($dn);
+ $objNew->set_acl_base($dn);
$this->CopyPasteHandler->Copy($obj,$objNew);
}else{
/* Copy current object to CopyHandler
*/
if($s_action == "cut"){
+
+ $dn = $this->grouplist[trim($s_entry)]['dn'];
$acl = $this->ui->get_permissions($dn,"groups/group");
if(preg_match("/(c.*w|w.*c)/",$acl)){
$this->CopyPasteHandler->Clear();
- $dn = $this->grouplist[trim($s_entry)]['dn'];
- $acl= get_permissions ($dn, $this->ui->subtreeACL);
-
$obj= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $dn);
$obj->set_acl_base($dn);
-
$this->CopyPasteHandler->Cut($obj);
}else{
print_red("You are not allowed to cut this entry.");