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

Remove PrivilegeName column and constructPrivilegeName() function

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: db_policy_store
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The privilegeName column in the Privilege table was initially created to enforce uniqueness of Privileges with same server+db+table+uri+action. This can be done using composite unique key constraint in the underlying db.

      It would also cleanup the Sentry Store codebase a bit..

        Attachments

        1. SENTRY-339.1.patch
          35 kB
          Arun Suresh
        2. SENTRY-339.2.patch
          41 kB
          Arun Suresh
        3. SENTRY-339.3.patch
          56 kB
          Arun Suresh
        4. SENTRY-339.4.patch
          59 kB
          Arun Suresh
        5. SENTRY-339.4.patch
          59 kB
          Arun Suresh
        6. SENTRY-339.5.patch
          59 kB
          Arun Suresh
        7. SENTRY-339.6.patch
          59 kB
          Arun Suresh

          Issue Links

            Activity

              People

              • Assignee:
                asuresh Arun Suresh
                Reporter:
                asuresh Arun Suresh
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: