diff --git a/gosa-plugins/opsi/admin/opsiLicenses/opsiLicense-list.xml b/gosa-plugins/opsi/admin/opsiLicenses/opsiLicense-list.xml
index 17aab5031d43a131eb640c73252e1f30c7c6bd02..57a24bfe9442d5e88c79eb35b01dd102dd2bcfbb 100644 (file)
<list>
<definition>
- <departmentBrowser>true</departmentBrowser>
+ <departmentBrowser>false</departmentBrowser>
<departmentRootVisible>false</departmentRootVisible>
- <baseMode>true</baseMode>
+ <baseMode>false</baseMode>
<multiSelect>true</multiSelect>
<template>opsiLicense-list.tpl</template>
- <module>roles</module>
- <label>List of roles</label>
+ <module>opsi</module>
+ <label>List of license pools</label>
<defaultSortColumn>1</defaultSortColumn>
<objectType>
- <label>Role</label>
- <objectClass>organizationalRole</objectClass>
- <category>roles</category>
- <class>role</class>
- <image>plugins/rolemanagement/images/role.png</image>
+ <label>License</label>
+ <objectClass>fake_opsiLicense</objectClass>
+ <category>opsi</category>
+ <class>licenseGeneric</class>
+ <image>plugins/opsi/images/select_license.png</image>
</objectType>
</definition>
<action>
<type>sub</type>
- <image>images/lists/new.png</image>
+ <image>images/lists/element.png[new]</image>
<label>Create</label>
<action>
<name>new</name>
<type>entry</type>
- <image>plugins/rolemanagement/images/new.png</image>
- <label>Role</label>
+ <image>plugins/opsi/images/select_license.png[new]</image>
+ <label>License</label>
</action>
</action>
<type>exporter</type>
</action>
- <action>
- <type>separator</type>
- </action>
-
- <action>
- <type>copypaste</type>
- </action>
-
- <action>
- <type>snapshot</type>
- </action>
-
</actionmenu>
- <actiontriggers snapshot="true" copypaste="true">
-
- <action>
- <name>cp</name>
- <type>copypaste</type>
- </action>
+ <actiontriggers snapshot="false" copypaste="false">
<action>
<name>edit</name>
<type>entry</type>
<image>images/lists/edit.png</image>
- <label>Edit role</label>
- </action>
-
- <action>
- <name>snapshot</name>
- <type>snapshot</type>
+ <label>Edit license</label>
</action>
<action>
<name>remove</name>
<type>entry</type>
<image>images/lists/trash.png</image>
- <acl>roles/role[d]</acl>
- <label>Remove role</label>
+ <acl>opsi/licenseGeneric[d]</acl>
+ <label>Remove license</label>
</action>
</actiontriggers>