You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Kalyan Kalvagadda (Jira)" <ji...@apache.org> on 2020/01/02 17:08:05 UTC
[jira] [Updated] (SENTRY-2244) Alter sentry role or user at
granting privilege can avoid extra query to database
[ https://issues.apache.org/jira/browse/SENTRY-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kalyan Kalvagadda updated SENTRY-2244:
--------------------------------------
Fix Version/s: 2.2.0
> Alter sentry role or user at granting privilege can avoid extra query to database
> ---------------------------------------------------------------------------------
>
> Key: SENTRY-2244
> URL: https://issues.apache.org/jira/browse/SENTRY-2244
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: Na Li
> Assignee: Na Li
> Priority: Major
> Fix For: 2.2.0
>
> Attachments: SENTRY-2244.001.patch, SENTRY-2244.002.patch, SENTRY-2244.002.patch
>
>
> In alterSentryRoleGrantPrivilegeCore and alterSentryUserGrantPrivilegeCore , all of the privileges of a role or a user are already fetched from DB. In following processing, there is no need to query DB to get privilege INSERT, SELECT, ALL of this role again.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)