[ https://issues.apache.org/jira/browse/CASSANDRA-3759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191271#comment-13191271 ]
Jonathan Ellis commented on CASSANDRA-3759: ------------------------------------------- Can we put this somewhere else (maybe ClientState.hasKeyspaceSchemaAccess) so that CQL and Thrift go through the same code path? We have something similar in hasColumnFamilySchemaAccess: {code} . // hardcode disallowing messing with system keyspace if (keyspace.equalsIgnoreCase(Table.SYSTEM_TABLE) && perm == Permission.WRITE) throw new InvalidRequestException("system keyspace is not user-modifiable"); {code} > [patch] don't allow dropping the system keyspace > ------------------------------------------------ > > Key: CASSANDRA-3759 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3759 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Dave Brosius > Priority: Trivial > Fix For: 1.0.8 > > Attachments: no_drop_system.diff > > > throw an IRE if user attempts to drop system keyspace -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira