Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2316

Rename any 'entity' word for 'principal' to be consistent with Hive principal name and type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Sentry
    • None

    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.

      Attachments

        1. SENTRY-2316.01.patch
          252 kB
          Arjun Mishra

        Issue Links

          Activity

            People

              arjunmishra13 Arjun Mishra
              spena Sergio Peña
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: