Jesse Haber-Kucharsky
d7f2035dea
cql: Make role syntax more consistent
...
This patch changes the syntax for CQL statements related to roles to
favor a form like
CREATE ROLE sam WITH PASSWORD = 'shire' AND LOGIN = false;
instead of
CREATE ROLE sam WITH PASSWORD 'shire' NOLOGIN;
This new syntax has the benefit of not imposing any ordering constraints
on the modifiers for roles and being consistent with other parts of the
CQL grammar. It is also consistent with syntax in Apache Cassandra.
The old USER-based statements (CREATE USER and ALTER USER) still have
the old forms for backwards compatibility.
A previous change modified the USER-related statements to allow for the
OPTIONS option. However, this was a mistake; only the PASSWORD option
should have been allowed. This patch also corrects this mistake.
2018-03-01 12:04:40 -05:00
..
2018-02-12 12:25:21 +00:00
2017-11-23 16:45:54 +00:00
2018-01-14 13:17:09 +01:00
2018-02-14 14:15:59 -05:00
2018-02-14 14:15:58 -05:00
2018-01-21 12:58:42 +02:00
2017-11-27 20:27:42 +01:00
2018-01-24 20:54:45 +01:00
2017-12-04 17:42:23 -08:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-01-21 19:09:03 +01:00
2018-01-31 11:34:08 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-02-19 13:10:14 +00:00
2017-12-08 13:38:13 -05:00
2018-02-06 12:10:10 +02:00
2017-11-27 20:27:42 +01:00
2018-01-21 12:58:42 +02:00
2018-03-01 12:04:40 -05:00
2018-02-26 17:15:29 +02:00
2018-03-01 12:04:40 -05:00
2018-02-22 19:30:50 +01:00
2017-12-12 12:03:01 -05:00
2017-12-08 10:12:21 -05:00
2018-02-01 00:22:50 +00:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-02-14 14:15:59 -05:00
2018-02-26 10:43:37 +00:00
2017-11-28 12:38:28 +01:00
2018-02-14 16:42:49 +01:00
2018-02-12 12:25:21 +00:00
2018-02-19 13:10:28 +00:00
2018-01-21 12:58:42 +02:00
2018-02-05 10:37:08 -05:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-18 15:37:19 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-11 15:04:26 +02:00
2018-02-19 13:09:59 +00:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-02-01 00:22:50 +00:00
2018-02-14 16:42:49 +01:00
2018-02-08 18:24:58 +02:00
2017-11-27 20:27:42 +01:00
2018-01-24 20:56:48 +01:00
2017-12-01 10:52:37 +01:00
2018-02-05 12:29:03 +00:00
2018-01-21 12:58:42 +02:00
2018-02-01 13:53:55 +01:00
2018-01-24 20:56:48 +01:00
2017-12-22 11:06:33 +01:00
2018-02-01 01:02:50 +00:00
2018-02-15 16:48:07 +00:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2018-01-21 12:58:42 +02:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-07 15:33:24 +01:00
2018-02-05 12:31:37 +00:00
2018-02-14 14:15:58 -05:00
2018-01-24 20:54:45 +01:00
2018-01-24 20:54:45 +01:00
2018-02-15 16:48:23 +00:00
2018-01-30 16:19:43 +02:00
2018-01-21 12:58:42 +02:00
2018-02-07 10:11:46 +00:00
2018-02-19 13:08:58 +00:00
2018-01-24 20:56:49 +01:00
2017-11-27 20:27:42 +01:00
2018-01-29 11:57:15 -08:00
2018-02-26 17:15:29 +02:00
2018-02-11 17:53:08 +00:00
2018-01-24 20:56:48 +01:00
2018-02-07 10:11:45 +00:00
2018-02-26 17:15:29 +02:00
2018-01-24 20:56:48 +01:00
2018-01-17 12:17:17 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-11-15 23:22:42 -05:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00
2017-12-21 00:49:15 +01:00
2017-11-27 20:27:42 +01:00
2017-11-27 20:27:42 +01:00