Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8394 Cassandra 3.0 Auth changes
  3. CASSANDRA-8849

ListUsersStatement should consider inherited superuser status

    XMLWordPrintableJSON

Details

    Description

      When introducing roles in CASSANDRA-7653, we retained LIST USERS support for backwards compatibility. However, the super column in its results is derived from IRoleManager#isSuper which only returns the superuser status for the named role and doesn't consider any other roles granted to it.

      LIST USERS then incorrectly shows a role which does not directly have superuser status, but which inherits it as not-a-superuser.

      Attachments

        1. 8849.txt
          5 kB
          Sam Tunnicliffe
        2. 8849-v2.txt
          20 kB
          Sam Tunnicliffe

        Activity

          People

            samt Sam Tunnicliffe
            samt Sam Tunnicliffe
            Sam Tunnicliffe
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: