[jira] [Created] (OFBIZ-6228) The role permission function fail

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-6228) The role permission function fail

Nicolas Malin (Jira)
Jiancai Hao created OFBIZ-6228:
----------------------------------

             Summary: The role permission function fail
                 Key: OFBIZ-6228
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6228
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk
            Reporter: Jiancai Hao


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)