Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
After using CREATE USER to create a new user, the LIST USERS command returns nothing to the console.
After removing this user again, the command works as expected.
$ ./cqlsh -u cassandra -p cassandra Connected to Test Cluster at localhost:9160. [cqlsh 4.0.1 | Cassandra 2.0.1 | CQL spec 3.1.1 | Thrift protocol 19.37.0] Use HELP for help. cqlsh> LIST USERS; name | super -----------+------- cassandra | True cqlsh> CREATE USER bob WITH PASSWORD 'example' NOSUPERUSER; cqlsh> LIST USERS; cqlsh> SELECT * FROM system_auth.users; name | super -----------+------- bob | False cassandra | True (2 rows) cqlsh> DROP USER bob; cqlsh> LIST USERS; name | super -----------+------- cassandra | True cqlsh>