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

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

Nitin Galave created RANGER-1484:
------------------------------------

             Summary: 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: Nitin Galave
            Assignee: Nitin Galave
             Fix For: 0.7.1


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)