Added resource-description attribute to permission-service element, which if not specified will default to the service-name for the main service; this is then passed to the permission service for use in error messages, etc; added example to this in the example component; also updated the header on the ExamplePermissionServices.xml file to make it more consistent

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494762 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David E. Jones
2007-01-10 08:18:50 +00:00
parent 30d8e24db3
commit c8ffca7540
6 changed files with 34 additions and 16 deletions
@@ -35,7 +35,7 @@ ExampleNewExample=New Example
ExampleNewExampleFeature=New Example Feature
ExampleErrorNoExampleStatusValidChange=Error\: status change from [${lookedUpValue.statusId}] to [${parameters.statusId}] is not allowed.
ExamplePermissionError=Security Error\: to run ${methodShortDescription} you must have the EXAMPLE_${mainAction} or EXAMPLE_ADMIN permission
ExamplePermissionError=Security Error\: to run ${resourceDescription} you must have the EXAMPLE_${mainAction} or EXAMPLE_ADMIN permission
ExampleViewPermissionError=You do not have permission to view this page. ("EXAMPLE_VIEW" or "EXAMPLE_ADMIN" needed)
ExampleWelcome=Welcome to the Example application!