summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e51a29e)
raw | patch | inline | side by side (parent: e51a29e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Jul 2007 08:51:14 +0000 (08:51 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Jul 2007 08:51:14 +0000 (08:51 +0000) |
Permissions were checked for wrong dn when user was moved.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6828 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6828 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index 8c1b16b0eeb529d01a4c6888c22484421080458e..c74d1dfd8b66417bcc1018918b5d537b3b12cbd2 100644 (file)
if ($this->dn == "new" && chkacl($acl, "create") != ""){
$message[]= _("You have no permissions to create a user on this 'Base'.");
} elseif ($this->dn != $this->new_dn && $this->dn != "new"){
- $acl= get_permissions ($this->dn, $ui->subtreeACL);
- $acl= get_module_permission($acl, "user", $this->dn);
+ $acl= get_permissions ($this->new_dn, $ui->subtreeACL);
+ $acl= get_module_permission($acl, "user", $this->new_dn);
if (chkacl($acl, "create") != ""){
$message[]= _("You have no permissions to move a user from the original 'Base'.");
}