[ 
https://issues.apache.org/jira/browse/RANGER-1778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

peng.jianhua updated RANGER-1778:
---------------------------------
    Description: 
The current logic is as following:
1、If policy choose “database”, the  Permissions can choose "Read" and "Write"
2、If policy choose “url”, the  Permissions can not  choose "Read" and "Write"

Above logic is error. The right logic should be as following:
1、If policy choose “database”, the  Permissions can not choose "Read" and 
"Write"
2、If policy choose “url”, the  Permissions can only choose "Read" and "Write"
3、Control relation values between "database" and "url" when user switched 
them.That is, we should control the linkage of the switch for  "database" and 
"url".

Please refer to 
https://community.hortonworks.com/questions/135781/ranger-hive-read-and-write-permissions.html

  was:
The Ranger Hive Plugin Web have some problems:
1、If policy choose “database”, the  Permissions can choose "Read" and "Write"
2、If policy choose “url”, the  Permissions can not  choose "Read" and "Write"

I will modify:
1、If policy choose “database”, the  Permissions can not choose "Read" and 
"Write"
2、If policy choose “url”, the  Permissions can only choose "Read" and "Write"
3、Add judge if choose  “database” or "url"


> The logical of the policy details for Ranger Hive Plugin is error.
> ------------------------------------------------------------------
>
>                 Key: RANGER-1778
>                 URL: https://issues.apache.org/jira/browse/RANGER-1778
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins, Ranger
>    Affects Versions: 1.0.0, master
>            Reporter: peng.jianhua
>            Assignee: peng.jianhua
>
> The current logic is as following:
> 1、If policy choose “database”, the  Permissions can choose "Read" and "Write"
> 2、If policy choose “url”, the  Permissions can not  choose "Read" and "Write"
> Above logic is error. The right logic should be as following:
> 1、If policy choose “database”, the  Permissions can not choose "Read" and 
> "Write"
> 2、If policy choose “url”, the  Permissions can only choose "Read" and "Write"
> 3、Control relation values between "database" and "url" when user switched 
> them.That is, we should control the linkage of the switch for  "database" and 
> "url".
> Please refer to 
> https://community.hortonworks.com/questions/135781/ranger-hive-read-and-write-permissions.html



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to