[jira] Created: (OFBIZ-696) The ModelService.evalPermission method does not test for permissionResourceDescription

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-696) The ModelService.evalPermission method does not test for permissionResourceDescription

Nicolas Malin (Jira)
The ModelService.evalPermission method does not test for permissionResourceDescription
--------------------------------------------------------------------------------------

                 Key: OFBIZ-696
                 URL: https://issues.apache.org/jira/browse/OFBIZ-696
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Al Byers
             Fix For: SVN trunk


The ModelService.evalPermission method does not test for permissionResourceDescription at line 783. It tests for permissionMainAction.
Change:
                if (UtilValidate.isNotEmpty(this.permissionMainAction)) {
to
                if (UtilValidate.isNotEmpty(this.permissionResourceDescription)) {


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (OFBIZ-696) The ModelService.evalPermission method does not test for permissionResourceDescription

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Al Byers resolved OFBIZ-696.
----------------------------

    Resolution: Fixed

Committed fix.

> The ModelService.evalPermission method does not test for permissionResourceDescription
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-696
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-696
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Al Byers
>             Fix For: SVN trunk
>
>
> The ModelService.evalPermission method does not test for permissionResourceDescription at line 783. It tests for permissionMainAction.
> Change:
>                 if (UtilValidate.isNotEmpty(this.permissionMainAction)) {
> to
>                 if (UtilValidate.isNotEmpty(this.permissionResourceDescription)) {

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-696) The ModelService.evalPermission method does not test for permissionResourceDescription

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-696.
-----------------------------------


> The ModelService.evalPermission method does not test for permissionResourceDescription
> --------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-696
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-696
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Al Byers
>             Fix For: SVN trunk
>
>
> The ModelService.evalPermission method does not test for permissionResourceDescription at line 783. It tests for permissionMainAction.
> Change:
>                 if (UtilValidate.isNotEmpty(this.permissionMainAction)) {
> to
>                 if (UtilValidate.isNotEmpty(this.permissionResourceDescription)) {

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.