summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a5a8408)
raw | patch | inline | side by side (parent: a5a8408)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jul 2008 12:40:33 +0000 (12:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jul 2008 12:40:33 +0000 (12:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11632 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history |
index 269a738bd8fce7005aee54ed47049bc1eb4ed118..ada218b76e732f49f366660218a5bf33476ac4da 100644 (file)
{
global $config;
$res = array();
- $ui = get_userinfo();
$data = get_list('(objectClass=gotoPrinter)',"printer",$config->current['BASE'], array('cn'), GL_SUBSEARCH);
foreach($data as $attrs ){
- if(!preg_match("/r/",$ui->get_permissions($data['dn'],"printer/printgeneric",""))) continue;
$res[$attrs['cn'][0]] = $attrs['cn'][0];
}
return $res;