ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-5920) Incorrect use of if-has-permission tag
Date Mon, 22 Dec 2014 06:24:13 GMT

     [ 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)

Mime
View raw message