You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2014/07/17 02:34:06 UTC

[jira] [Updated] (SENTRY-339) Remove PrivilegeName column

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

Arun Suresh updated SENTRY-339:
-------------------------------

    Attachment: SENTRY-339.1.patch

Uploading initial patch for review..

> Remove PrivilegeName column 
> ----------------------------
>
>                 Key: SENTRY-339
>                 URL: https://issues.apache.org/jira/browse/SENTRY-339
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: db_policy_store
>            Reporter: Arun Suresh
>            Assignee: Arun Suresh
>         Attachments: SENTRY-339.1.patch
>
>
> The {{privilegeName}} column in the Privilege table was initially created to enforce uniqueness of Privileges with same server+db+table+uri+action. This can be done using composite unique key constraint in the underlying db.
> It would also cleanup the Sentry Store codebase a bit.. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)