added examples of using new service based security; removed all security calls from the simple methods, added the security line to the definitions, implemented a generic simple permission example
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@494720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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${securityAction} or EXAMPLE_ADMIN permission
|
||||
ExamplePermissionError=Security Error\: to run ${methodShortDescription} 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!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user