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

The operation type needs to be set in the grant/revoke task context for the failure hook

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • None
    • None

    Description

      The statement operation type passed to onFailure hook is extracted from the operation type stored in Hive's per-session thread. That is not a reliable place to look up the operation during the process execution. We need to store the operation type in the grant revoke task during the compilation.
      Also the failure hook should be fired for AccessDenied exception rather than all exceptions.

      Attachments

        1. SENTRY-243.1.patch
          5 kB
          Prasad Suresh Mujumdar
        2. SENTRY-243.2.patch
          6 kB
          Prasad Suresh Mujumdar
        3. SENTRY-243.3.patch
          7 kB
          Prasad Suresh Mujumdar
        4. SENTRY-243.4.patch
          7 kB
          Prasad Suresh Mujumdar

        Issue Links

          Activity

            People

              prasadm Prasad Suresh Mujumdar
              prasadm Prasad Suresh Mujumdar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: