summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7dc5cbc)
raw | patch | inline | side by side (parent: 7dc5cbc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Jul 2008 11:57:23 +0000 (11:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Jul 2008 11:57:23 +0000 (11:57 +0000) |
-Do not display winstations if not allowed.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11727 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11727 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 988d0b6e55f77396ad19784103d16a60c6af3eb3..2c950a41ddf3fce845daebc804b19f13f2ac8c3d 100644 (file)
} else {
$domain= "";
}
- $terminal=$value;
- $terminal['type'] ="W";
- $terminal['domain'] = $name.$domain;
+ $acl = $ui->get_permissions($value['dn'],"winworkstation/wingeneric");
+ if($add != "" || preg_match("/r/",$acl)) {
+ $terminal=$value;
+ $terminal['type'] ="W";
+ $terminal['domain'] = $name.$domain;
+ }
}
if(count($terminal)){