You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2017/03/29 16:20:41 UTC

[jira] [Commented] (RANGER-1484) RangerUI: Escape of policy condition text entered in the policy form.

    [ https://issues.apache.org/jira/browse/RANGER-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947427#comment-15947427 ] 

Madhan Neethiraj commented on RANGER-1484:
------------------------------------------

+1 for the patch. Thanks [~nitin.galave].

> RangerUI: Escape of policy condition text entered in the policy form.
> ---------------------------------------------------------------------
>
>                 Key: RANGER-1484
>                 URL: https://issues.apache.org/jira/browse/RANGER-1484
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.7.0
>            Reporter: Madhan Neethiraj
>            Assignee: Nitin Galave
>             Fix For: 1.0.0, 0.7.1
>
>         Attachments: image001.png, image002.png, RANGER-1484.patch
>
>
> The text entered in policy condition UI comes back with escape characters after saving the policy.
> {code}
> For example: 
> 1.create policy with policy condition as “tag.attributes['type']=='ccn'” .
> 2.Now open that policy in edit mode you will see policy condition 
> becomes "tag.attributes[&#x27;type&#x27;]==&#x27;ccn&#x27;".
> {code}
> Another issue is that UI displays policy conditions that don’t have any value.Only the condition edit popup would list all the conditions; the policy view would only list the conditions that have non-empty value.
> See attachments for more info: image001.png, image002.png.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)