[
https://issues.apache.org/jira/browse/OFBIZ-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490903#comment-14490903 ]
Deepak Dixit commented on OFBIZ-6207:
-------------------------------------
Hi [~
[hidden email]],
I think this is different case, In this case if any request or quote does not belongs to logged in user then also he can view request/quote by changing the id from url.
If we add VIEW permission check then also use can able to view others request/quote as well.
It can't be handle by if-service-permission.
For order view (ecommerce) logged in party id comparison has been checked in orderstatus.groovy. If logged in party exist in any order role then only user can view the order.
We can create common service to perform check if order/request/quote belongs to logged in part then only user can view else error message will be displayed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)