You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Arjun Mishra (JIRA)" <ji...@apache.org> on 2018/08/06 15:46:00 UTC

[jira] [Updated] (SENTRY-2316) Rename any 'entity' word for 'principal' to be consistent with Hive principal name and type

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

Arjun Mishra updated SENTRY-2316:
---------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Rename any 'entity' word for 'principal' to be consistent with Hive principal name and type
> -------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-2316
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2316
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Sergio Peña
>            Assignee: Arjun Mishra
>            Priority: Major
>         Attachments: SENTRY-2316.01.patch
>
>
> SENTRY-2252 added code to put the role and user types as categories. These are called 'entities' or 'entity' for the singular. However, Hive uses 'principal'. Like PrincipalType.ROLE and PrincipalType.USER. And change EntityName to PrincipalName. The changes should cover both java class and thrift generated types.
> We should use the same naming convention of the ROLE and USER category to avoid confusions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)