You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/12/22 10:16:13 UTC

[jira] [Closed] (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 ]

Jacques Le Roux closed OFBIZ-5920.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 13.07.02
                   12.04.06
                   Upcoming Branch
         Assignee: Jacques Le Roux

Thanks Deepak,

Your patch is in
trunk r1647266
R13.07 r1647267
R12.04 r1647268

I wonder if this patch does not fix some other already reported issues, anyway it's good!

> 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
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch, 12.04.06, 13.07.02
>
>         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 not be able to view the screen.



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