[ 
https://issues.apache.org/jira/browse/OFBIZ-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15051460#comment-15051460
 ] 

Forrest Rae edited comment on OFBIZ-610 at 12/10/15 6:56 PM:
-------------------------------------------------------------

I know this is quite old, but did you ever consider a case where you'd need to 
do:

{code:xml}
<required-permissions join-type="OR">
    <permission-service service-name="somePartyRelationshipPermissionCheck"/>
    <permission-service 
service-name="someOtherPartyRelationshipPermissionCheck"/>
</required-permissions>
{code}

I just spent weeks implementing something like this, and then stumbled across 
this, showing that <required-permissions> is deprecated.


was (Author: [email protected]):
I know this is quite old, but did you ever consider a case where you'd need to 
do:

{code|borderStyle=solid}
<required-permissions join-type="OR">
    <permission-service service-name="somePartyRelationshipPermissionCheck"/>
    <permission-service 
service-name="someOtherPartyRelationshipPermissionCheck"/>
</required-permissions>
{code}

I just spent weeks implementing something like this, and then stumbled across 
this, showing that <required-permissions> is deprecated.

> Remove all instances of 'required-permissions' usage in service definition 
> files.
> ---------------------------------------------------------------------------------
>
>                 Key: OFBIZ-610
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-610
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework, order, product
>            Reporter: Andrew Zeneski
>            Assignee: Andrew Zeneski
>             Fix For: Trunk
>
>
> There are currently 61 instances of service definitions which use the now 
> deprecated <required-permissions> tag. These definitions should all be 
> updated and new permissions services implemented (as needed) to use the new 
> <premission-service> tag.



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

Reply via email to