summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4e0ed8)
raw | patch | inline | side by side (parent: e4e0ed8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Oct 2008 12:55:03 +0000 (12:55 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 20 Oct 2008 12:55:03 +0000 (12:55 +0000) |
-Fixed self modify for Fax reports.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12742 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12742 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc | patch | blob | history |
diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc
index 9c16f15f4addcfd0462222001d7514e559d42e44..0a67ff00063e52a61ac01cfc46e2ad7aa99e713d 100644 (file)
"(telephoneNumber=$s)(facsimileTelephoneNumber=$s)(mobile=$s)".
"(pager=$s)(cn=$s)(givenName=$s)(sn=$s)(personalTitle=$s)".
"(title=$s)))";
-
+
$res = get_list($filter, "users", $this->search_base, array("uid"), GL_SUBSEARCH );
/* Check if we are allowed to collect fax data */
}
}
+ /* Add self uid, if we have self acl
+ */
+ if(preg_match("/(r|w)/",$this->ui->get_permissions($this->ui->dn,"faxreport/faxreport",""))){
+ $fax_users[$this->ui->dn] = $this->ui->uid;
+ }
+
$this->fax_users = $fax_users;
/* Prepare SQL query */