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

Fix URI check on List Privileges by Provider in SentryStore

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Sentry
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: