[
https://issues.apache.org/jira/browse/SENTRY-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Na Li updated SENTRY-2316:
--------------------------
Description:
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.
was:
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.
We should use the same naming convention of the ROLE and USER category to avoid
confusions.
> 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
>
> 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)