summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7379bb5)
raw | patch | inline | side by side (parent: 7379bb5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Apr 2010 12:33:10 +0000 (12:33 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Apr 2010 12:33:10 +0000 (12:33 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17737 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc | patch | blob | history | |
gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml | patch | blob | history |
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc b/gosa-plugins/rolemanagement/admin/roleManagement/class_roleGeneric.inc
index 9d04d137b054bc3533fe1b2b8c5fc0af7763c06d..2947fddd47414adc87b012918db201e22c0ab38b 100644 (file)
$this->memberList->setAcl($this->getacl("roleOccupant"));
$data = $lData = array();
- $icon = image('plugins/generic/images/head.png');
foreach ($this->roleOccupant as $key => $dn){
$data[$key] = $dn;
if(isset($this->roleOccCache[$dn])){
+ $icon = image('plugins/users/images/select_user.png');
$entry = $this->roleOccCache[$dn];
$name = $entry['cn']['0'];
if(isset($entry['description'][0])){
}
}else{
$name = _("Unknown")." ".$dn;
+ $icon = image('images/false.png');
}
$lData[$key] = array('data' => array($icon,$name));
}
diff --git a/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml b/gosa-plugins/rolemanagement/admin/roleManagement/role-list.xml
index f2f073ed7a3580c455a470a95c1a8b11c82582c2..8221cd25b6afacbee0a935bca0968731fe597259 100644 (file)
<name>remove</name>
<type>entry</type>
<image>images/lists/trash.png</image>
- <acl>roles/role[d]</acl>
+ <acl>roles/roleGeneric[d]</acl>
<label>Remove role</label>
</action>