From ec798692a573eec4c2fc2370eb92f21e6ca08960 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 24 Mar 2010 10:18:31 +0000 Subject: [PATCH] Updated opsi 'ACLs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17048 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../opsiLicenses/class_licenseGeneric.inc | 14 ++++++++++-- .../admin/opsiLicenses/licenseGeneric.tpl | 22 ++++++++++--------- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc index 2a9730c1f..775adf0a6 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc @@ -281,8 +281,18 @@ class licenseGeneric extends plugin "plSection" => array("administration"), "plCategory" => array("opsi"), "plProvidedAcls"=> array( - "cn" => _("Name"), - "description" => _("Description")) + "cn" => _("Name"), + "partner" => _("Partner"), + "licenseKey" => _("License key"), + "licenseModel" => _("License model"), + "licensePoolId" => _("License pool id"), + "maximumInstallations"=> _("Maximum installations"), + "boundToHost" => _("Reserved for host"), + "usedByHost" => _("Usage"), + "notificationDate" => _("Notification date"), + "conclusionDate" => _("Conclusion date"), + "expirationDate" => _("Expiration date"), + "description" => _("Description")) )); } } diff --git a/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl b/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl index 265614245..8e3bca294 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl +++ b/gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl @@ -24,7 +24,7 @@ {if $initially_was_account} {else} -{render acl=$licenseACL} +{render acl=$cnACL} {/render} {/if} @@ -35,7 +35,7 @@ {t}Partner{/t} -{render acl=$licenseACL} +{render acl=$partnerACL} {/render} @@ -45,7 +45,7 @@ {t}Description{/t} -{render acl=$licenseACL} +{render acl=$descriptionACL} {/render} @@ -55,6 +55,7 @@ {t}License model{/t} +{render acl=$licenseModelACL} {if $initially_was_account} {/if} +{/render} @@ -76,7 +78,7 @@ {t}Conclusion date{/t} -{render acl=$licenseACL} +{render acl=$conclusionDateACL} {if $conclusionDateWriteable} {literal} @@ -101,7 +103,7 @@ {t}Expiration date{/t} -{render acl=$licenseACL} +{render acl=$expirationDateACL} {if $expirationDateWriteable} {literal} @@ -126,7 +128,7 @@ {t}Notification date{/t} -{render acl=$licenseACL} +{render acl=$notificationDateACL} {if $notificationDateWriteable} {literal} @@ -164,7 +166,7 @@ {t}License key{/t}{$must} -{render acl=$licenseACL} +{render acl=$licenseKeyACL} {/render} @@ -175,7 +177,7 @@ {t}Maximum installations{/t} -{render acl=$licenseACL} +{render acl=$maximumInstallationsACL} {/render} @@ -187,7 +189,7 @@ {t}Reserved for{/t} -{render acl=$licenseACL} +{render acl=$boundToHostACL} {html_options options=$usedByHost} -- 2.30.2