From eab5c4f2de7d43680d320eeebb435b470d3a0c49 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 Apr 2007 08:55:33 +0000 Subject: [PATCH] Fixed printer-list used in evironment dialog. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6184 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/environment/class_selectPrinterDialog.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/personal/environment/class_selectPrinterDialog.inc b/plugins/personal/environment/class_selectPrinterDialog.inc index 9b17dca8e..2f2afb95c 100644 --- a/plugins/personal/environment/class_selectPrinterDialog.inc +++ b/plugins/personal/environment/class_selectPrinterDialog.inc @@ -126,7 +126,8 @@ class selectPrinterDialog extends plugin foreach($res as $printer) { - $acl = $this->ui->get_permissions($printer['dn'],"printer","gotoUserPrinter"); + $acl = $this->ui->get_permissions($printer['dn'],"printer/printgeneric","gotoUserPrinter"); + if(!preg_match("/w/",$acl)){ continue; } -- 2.30.2