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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      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.4.patch
          7 kB
          Prasad Suresh Mujumdar
        2. SENTRY-243.3.patch
          7 kB
          Prasad Suresh Mujumdar
        3. SENTRY-243.2.patch
          6 kB
          Prasad Suresh Mujumdar
        4. SENTRY-243.1.patch
          5 kB
          Prasad Suresh Mujumdar

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: