summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2c6d7e6)
raw | patch | inline | side by side (parent: 2c6d7e6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:37:41 +0000 (07:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 23 May 2007 07:37:41 +0000 (07:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6446 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 58fbde1b9d15bcf323ccf6ad57e51d8837949c7c..6fd51ecd3553d31269c4af3524967cb3ff1dc872 100644 (file)
/* Create new usertab object */
$this->grouptab= new grouptabs($this->config, $this->config->data['TABS']['GROUPTABS'], $this->dn);
- /* Set up the users ACL's for this 'dn' */
+ /* Set up the group ACL's for this 'dn' */
$this->grouptab->set_acl_base($this->DivListGroup->selectedBase);
}
}
del_lock ($this->dn);
}
- /* There's no page reload so we have to read new users at this point. */
+ /* There's no page reload so we have to read new groups at this point. */
//$this->reload ();
unset ($this->grouptab);
$this->grouptab= NULL;
Delete MULTIPLE entries confirmed
********************/
- /* Confirmation for deletion has been passed. Users should be deleted. */
- if (isset($_POST['delete_multiple_group_confirm'])){
-
- /* Remove user by user and check acls before removeing them */
- foreach($this->dns as $key => $dn){
-
- $acl = $this->ui->get_permissions($dn, "users/user");
- if (preg_match('/d/', $acl)){
-
- /* Delete request is permitted, perform LDAP action */
- $this->usertab= new usertabs($this->config, $this->config->data['TABS']['USERTABS'],$dn);
- $this->usertab->set_acl_base();
- $this->usertab->delete ();
- unset ($this->usertab);
- $this->usertab= NULL;
- } else {
- print_red (sprintf(_("You are not allowed to delete the user '%s'!"),$dn));
- if(isset($this->ui->uid)){
- @log::log("security","groups/".get_class($this),$dn,array(),"Tried to trick deletion.");
- }
- }
- /* Remove lock file after successfull deletion */
- del_lock ($dn);
- unset($this->dns[$key]);
- }
- }
-
-
- /********************
- Delete MULTIPLE entries confirmed
- ********************/
-
- /* Confirmation for deletion has been passed. Users should be deleted. */
+ /* Confirmation for deletion has been passed. Groups should be deleted. */
if (isset($_POST['delete_multiple_groups_confirm'])){
/* Remove user by user and check acls before removeing them */