cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1096926 - /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java
Date Tue, 26 Apr 2011 21:54:21 GMT
Author: jbellis
Date: Tue Apr 26 21:54:21 2011
New Revision: 1096926

URL: http://svn.apache.org/viewvc?rev=1096926&view=rev
Log:
revert unreviewed code

Modified:
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java?rev=1096926&r1=1096925&r2=1096926&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java
(original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ClientState.java
Tue Apr 26 21:54:21 2011
@@ -129,11 +129,7 @@ public class ClientState
     {
         validateLogin();
         validateKeyspace();
-
-        // hardcode disallowing messing with system keyspace
-        if (keyspace.equalsIgnoreCase("system"))
-            throw new InvalidRequestException("system keyspace is not user-modifiable");
-
+        
         resourceClear();
         resource.add(keyspace);
         Set<Permission> perms = DatabaseDescriptor.getAuthority().authorize(user, resource);



Mime
View raw message