You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Gautam Borad (JIRA)" <ji...@apache.org> on 2017/04/04 06:15: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=15954604#comment-15954604 ]
Gautam Borad commented on RANGER-1484:
--------------------------------------
Committed to master: bdf0b61c0f6e109c2f4e0459676dda71f0265aeb
Committed to ranger-0.7 : ba664e1b310ae65b674ff28e0772d208d3b20464
> 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['type']=='ccn'".
> {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)