Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-1015

Improve Sentry + Hive error message when user does not have sufficient privileges to perform an operation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Sentry + Hive error message now is:

      FAILED: SemanticException No valid privileges
       User user2_1 does not have privileges for ALTERTABLE_PROPERTIES
      

      Should add the required privileges in the exception message.

      Updated error message would be:

      FAILED: SemanticException No valid privileges
       User user2_1 does not have privileges for ALTERTABLE_PROPERTIES
       The required privileges: Server=server1->Db=db_1->Table=tb1->action=alter;
      

        Attachments

        1. SENTRY-1015.0.patch
          1 kB
          Hao Hao

          Issue Links

            Activity

              People

              • Assignee:
                hahao Hao Hao
                Reporter:
                hahao Hao Hao
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: