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

Sentry Service does not allow the same Privilege to be associated to multiple Roles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • db_policy_store, 1.4.0
    • 1.4.0
    • None
    • None

    Description

      Steps to recreate :

      1) Create role1
      2) Create role2
      3) Grant 'role1' a Privilege(ALL) to a Table t1, Db d1, server S1
      4) the 'listPrivilegesByRoleName' API applied to 'role1' returns a set of size 1
      5) Grant 'role2' the same Privilege as role 1.. a Privilege(ALL) to a Table t1, Db d1, server S1
      6) the 'listPrivilegesByRoleName' API applied to 'role2' returns a set of size 0

      Attachments

        1. SENTRY-214.5.patch
          8 kB
          Arun Suresh
        2. SENTRY-214.3.patch
          7 kB
          Arun Suresh
        3. SENTRY-214.2.patch
          4 kB
          Arun Suresh
        4. SENTRY-214.1.patch
          2 kB
          Arun Suresh

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: