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

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

    XMLWordPrintableJSON

    Details

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

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

              Dates

              • Created:
                Updated:
                Resolved: