You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Xiaomeng Huang (JIRA)" <ji...@apache.org> on 2014/12/11 07:44:12 UTC

[jira] [Updated] (SENTRY-576) Remove useless logic of grant privilege

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

Xiaomeng Huang updated SENTRY-576:
----------------------------------
    Summary: Remove useless logic of grant privilege  (was: Remove unused logic of grant privilege)

> Remove useless 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)