-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70954/#review216183
-----------------------------------------------------------


Ship it!




Ship It!

- Pradeep Agrawal


On June 26, 2019, 3:04 p.m., Nitin Galave wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/70954/
> -----------------------------------------------------------
> 
> (Updated June 26, 2019, 3:04 p.m.)
> 
> 
> Review request for ranger, Gautam Borad, Mehul Parikh, Pradeep Agrawal, and 
> Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2487
>     https://issues.apache.org/jira/browse/RANGER-2487
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> If a resource based policy is given a name that contains a character that is 
> typically HTML escape, such as the greater than sign '>', which is HTML 
> escaped '>', then whenever that policy is saved, the name of the policy will 
> be changed by the ranger you to contain the HTML escape characters.
> 
> For example, if I name a policy mydb->mytable, then when that policy is 
> edited and saved in the UI, its name will change to mydb->mytable. Because 
> the ampersand is itself an HTML escaped character, if I save the policy 
> again, this name will be changed to mydb->mytable.Etc..
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/webapp/scripts/models/RangerPolicy.js 30e36ac 
>   security-admin/src/main/webapp/scripts/modules/globalize/message/en.js 
> 8d921f7 
>   security-admin/src/main/webapp/scripts/utils/XAUtils.js 79f397e 
>   security-admin/src/main/webapp/scripts/views/policies/RangerPolicyForm.js 
> b82654e 
> 
> 
> Diff: https://reviews.apache.org/r/70954/diff/1/
> 
> 
> Testing
> -------
> 
> Verified CRUD operation for policy.
> 
> 
> Thanks,
> 
> Nitin Galave
> 
>

Reply via email to