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

Fix URI check on List Privileges by Provider in SentryStore

    XMLWordPrintableJSON

Details

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

    Description

      In SentryStore#getMSentryPrivileges when retrieving URI's the query condition "addCustomParam("\"" + authHierarchy.getUri() + "\".startsWith(:URI)", URI, authHierarchy.getUri());", will always be True. This should be changed to filter by appropriate URI.

      For example: when retrieving privileges on URI object "/x/y/z" this condition is checked for: ""file:///x/y/z".startsWith(file:///x/y/z))", which is always true

      Attachments

        1. SENTRY-2231.01.patch
          0.9 kB
          Arjun Mishra

        Issue Links

          Activity

            People

              arjunmishra13 Arjun Mishra
              arjunmishra13 Arjun Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: