You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2014/12/22 07:24:13 UTC
[jira] [Updated] (OFBIZ-5920) Incorrect use of if-has-permission
tag
[ https://issues.apache.org/jira/browse/OFBIZ-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Dixit updated OFBIZ-5920:
--------------------------------
Attachment: OFBIZ-5920.patch
Here is the patch for this issue, found some more places where if-has-permission tag used in different way, will create a new ticket to fix the if-has-permission tags and will used the consistent pattern.
> Incorrect use of if-has-permission tag
> --------------------------------------
>
> Key: OFBIZ-5920
> URL: https://issues.apache.org/jira/browse/OFBIZ-5920
> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/ecommerce
> Affects Versions: Release Branch 13.07, Trunk
> Reporter: Deepak Dixit
> Priority: Minor
> Attachments: OFBIZ-5920.patch
>
>
> action value used in if-has-permission tag is incorrect in some places. Ideally action value should be start with "_" but some places it used without "_"
> ForumScreens.xml#ViewForumMessage
> {code}
> <if-has-permission permission="CONTENTMGR" action="CREATE"/>
> {code}
> Due to this if user has correct permission then also it return false and user will be able to view the screen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)