Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Trunk
-
None
Description
When set a service by role permission like that:
<service name="learningCallingServiceOneWithPermission" engine="java" location="org.ofbiz.learning.learning.LearningServices" invoke="callingServiceOne">
<description>First Service Called From The Controller</description>
<required-permissions join-type="OR">
<!-- <check-permission permission="LEARN_VIEW" /> -->
<check-role-member role-type="CUSTOMER"/>
</required-permissions>
<implements service="learningInterface" />
</service>
...
and then assign the partyId for example 10010 with the role of "CUSTOMER". Login using this party and call the service "learningCallingServiceOneWithPermission", the party don't get the permission.