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

The case of a username is ignored when determining object ownership

    XMLWordPrintableJSON

Details

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

    Description

      Sentry saves user name associated with a privilege in lower case. And when getting privileges of a given user, the query returns the privileges associated with a user in case-insensitive way.

      Therefore, if there are two users, only differ in case, will have same privileges.

      For example:
      1) User user_1 is granted privilege "ALL" on a database DB_1
      2) then User USER_1 has full access on that database,

      The desired behavior is to keep user name case sensitive.

      Attachments

        1. SENTRY-2432.001.patch
          10 kB
          Na Li
        2. SENTRY-2432.002.patch
          24 kB
          Na Li

        Issue Links

          Activity

            People

              linaataustin Na Li
              linaataustin Na Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: