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

Xiaomeng Huang updated SENTRY-576:
----------------------------------
    Description: 
Very time when we grant privilege, we will do 
{code}
MSentryPrivilege mPrivilege = alterSentryRoleGrantPrivilegeCore(pm, roleName, 
privilege);

if (mPrivilege != null) {
  convertToTSentryPrivilege(mPrivilege, privilege);
}
{code}
After grant privilege, "convertToTSentryPrivilege" is no used except waste of 
time

> Remove unused logic of grant privilege
> --------------------------------------
>
>                 Key: SENTRY-576
>                 URL: https://issues.apache.org/jira/browse/SENTRY-576
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>            Assignee: Xiaomeng Huang
>
> Very time when we grant privilege, we will do 
> {code}
> MSentryPrivilege mPrivilege = alterSentryRoleGrantPrivilegeCore(pm, roleName, 
> privilege);
> if (mPrivilege != null) {
>   convertToTSentryPrivilege(mPrivilege, privilege);
> }
> {code}
> After grant privilege, "convertToTSentryPrivilege" is no used except waste of 
> time



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to