[jira] [Closed] (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] [Closed] (OFBIZ-6228) The role permission function fail

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-6228.
----------------------------------
    Resolution: Not a Problem
      Assignee: Jacques Le Roux

Thanks Adrian,

I have marked this feature as deprecated in services.xsd. I wonder if we should not remove it. It's not used at all OOTB.

> 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
>            Assignee: Jacques Le Roux
>              Labels: permission, role
>
> 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)