Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6228

The role permission function fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Trunk
    • None
    • framework

    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.

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            sword2000 Jiancai Hao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: