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

Revoke on SERVER scope breaks Client API, allows any string to be passed in

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • Service
    • None

    Description

      Revoke on server scope change the Java API in an incompatible way (added a new parameter). We need to fix the client API to have an overload for revoke which defaults to "ALL" privileges if nothing is specified.

      Additionally, it looks like any string can be passed in for the "action" field of the new API. We should validate that the action is valid - "SELECT", "INSERT", or "ALL".

      Attachments

        1. SENTRY-841.patch
          4 kB
          Ryan P
        2. SENTRY-841.patch
          4 kB
          Ryan P
        3. SENTRY-841.patch
          2 kB
          Ryan P

        Activity

          People

            Ryan P Ryan P
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: