Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10817

DROP USER is not case-sensitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.2.5, 3.0.3, 3.3
    • Legacy/CQL
    • None
    • Low

    Description

      As per the summary DROP USER is not case sensitive, so:

      CREATE USER 'Test';
      LIST USERS;
       name      | super
      -----------+-------
            Test | False
       cassandra |  True
      DROP USER 'Test';
      InvalidRequest: code=2200 [Invalid query] message="test doesn't exist"
      

      DROP ROLE is case-sensitive and will drop the above user.

      Attachments

        Activity

          People

            marcuse Marcus Eriksson
            mike_tr_adamson Mike Adamson
            Marcus Eriksson
            Sam Tunnicliffe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: