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

Remove PrivilegeName column and constructPrivilegeName() function

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • db_policy_store
    • 1.5.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: