Small cleanup, changed rather incomprehensible error message
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@498538 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -21,7 +21,7 @@ under the License.
|
||||
<simple-method method-name="exampleGenericPermission" short-description="Main permission logic">
|
||||
<set field="mainAction" from-field="parameters.mainAction"/>
|
||||
<if-empty field-name="mainAction">
|
||||
<add-error><fail-message message="Generic Example Permission request the main-action attribute"/></add-error>
|
||||
<add-error><fail-message message="In the permission-service element for the exampleGenericPermission service the main-action attribute was missing but is required"/></add-error>
|
||||
<check-errors/>
|
||||
</if-empty>
|
||||
<if-has-permission permission="EXAMPLE" action="_${parameters.mainAction}">
|
||||
|
||||
Reference in New Issue
Block a user