[
https://issues.apache.org/jira/browse/RANGER-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang resolved RANGER-1743.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
> Comment lines have not been filtered out when the populate_global_dict
> function parsed install.properties in
> security-admin/scripts/restrict_permissions.py. Like RANGER-1284, we should
> modify it.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RANGER-1743
> URL: https://issues.apache.org/jira/browse/RANGER-1743
> Project: Ranger
> Issue Type: Bug
> Components: admin
> Affects Versions: 1.0.0, 0.7.1
> Reporter: peng.jianhua
> Assignee: peng.jianhua
> Labels: patch
> Fix For: 1.0.0
>
> Attachments:
> 0001-RANGER-1743-Comment-lines-have-not-been-filtered-out.patch
>
>
> Comment lines have not been filtered out when the populate_global_dict
> function parsed install.properties in
> security-admin/scripts/restrict_permissions.py. So if we use '#' to comment a
> line and it includes '=', the comment will not work. On the left of the '=',
> it will be parsed as a key and the right will be parsed as a value. As a
> result, there are two problems as follows:
> 1. There are invalid attribute values in globalDict variable.
> 2. Invalid parsing will degrade the performance of program.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)