You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pavel Yaskevich (JIRA)" <ji...@apache.org> on 2012/09/13 18:12:07 UTC

[jira] [Created] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Pavel Yaskevich created CASSANDRA-4664:
------------------------------------------

             Summary: Rename permission USE to DESCRIBE.
                 Key: CASSANDRA-4664
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Pavel Yaskevich
            Assignee: Pavel Yaskevich
             Fix For: 1.1.6


We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471967#comment-13471967 ] 

Pavel Yaskevich commented on CASSANDRA-4664:
--------------------------------------------

+1 from me if we have settled on the point that we want to allow users to make modifications to the system keyspace's data.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch, v2-0001-CASSANDRA-4664-permit-system-ks-read-write-again.txt
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaskevich updated CASSANDRA-4664:
---------------------------------------

    Attachment: CASSANDRA-4664.patch
    
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Reopened] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans reopened CASSANDRA-4664:
-----------------------------------


Prior to this commit connecting clients were not allowed to modify {{system}} keyspace schema, after this change, writes of any kind are disallowed.  Was this intentional?

This breaks the design of {{shuffle}} (CASSANDRA-4443).
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462040#comment-13462040 ] 

Jonathan Ellis commented on CASSANDRA-4664:
-------------------------------------------

I would like to preserve ability for clients to write to {{system}} in general.  Better than messing about with sstable2json when you need to change things manually.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466719#comment-13466719 ] 

Eric Evans commented on CASSANDRA-4664:
---------------------------------------

This patch doesn't work, I believe  you need to remove the {{preventSystemKSModification()}} call from {{hasColumnFamilyAccess()}}.

{noformat}

@@ -228,9 +228,6 @@ public class ClientState
         resourceClear();
         resource.add(keyspace);
 
-        if (!internalCall)
-            preventSystemKSModification(keyspace, perm);
-
         // check if keyspace access is set to Permission.FULL_ACCESS
         // (which means that user has all access on keyspace and it's underlying elements)
         if (DatabaseDescriptor.getAuthority().authorize(user, resource).contains(Permission.FULL_ACCESS))
{noformat}
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462063#comment-13462063 ] 

Jonathan Ellis commented on CASSANDRA-4664:
-------------------------------------------

I'm pretty sure we've never disallowed that intentionally.  The alternative, when you need to do something manually, is sstable2json or otherwise manually messing with sstable files.  I'd much rather advise someone to TRUNCATE system.hints, than to get his hands dirty with the filesystem, to pick a non-hypothetical example.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaskevich updated CASSANDRA-4664:
---------------------------------------

    Attachment: CASSANDRA-4664-allow-modifications.patch

patch allows to make modifications to system keyspace's data but not to it's schema.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462083#comment-13462083 ] 

Sylvain Lebresne commented on CASSANDRA-4664:
---------------------------------------------

bq. I'm pretty sure we've never disallowed system keyspace writes intentionally

I don't know who exactly added that code but I would have opened a bug report if it wasn't there. I really think allowing write in the system table in general is really really bad idea. You can very easily mess us your node in subtle way. And I couldn't swear there isn't ways to mess up a good part of your cluster by writing something you should in the schema tables or in some value propagated by gossip.

This is not saying no user interaction should ever translate to a write in the system table, and I'm all for adding a jmx call to truncate hints (doesn't that exist already?), but unrestricted writes feels like way to much power to give by default.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460428#comment-13460428 ] 

Hudson commented on CASSANDRA-4664:
-----------------------------------

Integrated in Cassandra #2135 (See [https://builds.apache.org/job/Cassandra/2135/])
    1.2 specific changes related to CASSANDRA-4664 (Revision ebae28ec27e14083026cc9006381a0fe3e7c703f)
grant internal components ability to modify system keyspace, related to CASSANDRA-4664. (Revision 98eb543a9829c1e857612edc6376a192f7ce4cff)

     Result = ABORTED
xedin : 
Files : 
* src/java/org/apache/cassandra/thrift/CassandraServer.java
* src/java/org/apache/cassandra/cql/QueryProcessor.java

xedin : 
Files : 
* src/java/org/apache/cassandra/cql3/QueryProcessor.java
* src/java/org/apache/cassandra/service/ClientState.java

                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459752#comment-13459752 ] 

Yuki Morishita commented on CASSANDRA-4664:
-------------------------------------------

+1
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471736#comment-13471736 ] 

Eric Evans commented on CASSANDRA-4664:
---------------------------------------

Scratch my last.  When I applied that patch, 2/3 hunks failed, and I think I must have made some mistake in rebasing the changes.  I've rerebased it (updated patch attached), and it seems fine.

Pavel: If I don't hear anything from you in the next day or so, I'll go ahead and commit this so that CASSANDRA-4443 can move forward.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch, v2-0001-CASSANDRA-4664-permit-system-ks-read-write-again.txt
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462101#comment-13462101 ] 

Jonathan Ellis commented on CASSANDRA-4664:
-------------------------------------------

Unlike some tools, I think users intuitively get that "writing stuff to system keyspace when I don't know what I'm doing is very dangerous."  We've allowed that in every major release and I don't remember a single instance of someone blowing his leg off.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462045#comment-13462045 ] 

Pavel Yaskevich commented on CASSANDRA-4664:
--------------------------------------------

ok sure, I will add posibility to update/delete and truncate.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462118#comment-13462118 ] 

Sylvain Lebresne commented on CASSANDRA-4664:
---------------------------------------------

bq. We've allowed that in every major release

I though we weren't allowing it but that's my bad, the only thing we forbid is to modify the system schema. I still don't think it's wise per se (and I think the fact that CQL3 exposes the system table in a human readable way will make it more tempting/easy for some to try to be smart though I may well be wrong) but I do lift my objections. 
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462063#comment-13462063 ] 

Jonathan Ellis edited comment on CASSANDRA-4664 at 9/25/12 7:07 AM:
--------------------------------------------------------------------

I'm pretty sure we've never disallowed system keyspace writes intentionally.  As I mentioned The alternative, when you need to do something manually, is sstable2json or otherwise manually messing with sstable files.  I'd much rather advise someone to TRUNCATE system.hints, than to get his hands dirty with the filesystem, to pick a non-hypothetical example.
                
      was (Author: jbellis):
    I'm pretty sure we've never disallowed that intentionally.  The alternative, when you need to do something manually, is sstable2json or otherwise manually messing with sstable files.  I'd much rather advise someone to TRUNCATE system.hints, than to get his hands dirty with the filesystem, to pick a non-hypothetical example.
                  
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462063#comment-13462063 ] 

Jonathan Ellis edited comment on CASSANDRA-4664 at 9/25/12 7:08 AM:
--------------------------------------------------------------------

I'm pretty sure we've never disallowed system keyspace writes intentionally.  The alternative, when you need to do something manually, is sstable2json or otherwise manually messing with sstable files.  I'd much rather advise someone to TRUNCATE system.hints, than to get his hands dirty with the filesystem, to pick a non-hypothetical example.
                
      was (Author: jbellis):
    I'm pretty sure we've never disallowed system keyspace writes intentionally.  As I mentioned The alternative, when you need to do something manually, is sstable2json or otherwise manually messing with sstable files.  I'd much rather advise someone to TRUNCATE system.hints, than to get his hands dirty with the filesystem, to pick a non-hypothetical example.
                  
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Evans updated CASSANDRA-4664:
----------------------------------

    Attachment: v2-0001-CASSANDRA-4664-permit-system-ks-read-write-again.txt
    
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch, v2-0001-CASSANDRA-4664-permit-system-ks-read-write-again.txt
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462059#comment-13462059 ] 

Pavel Yaskevich commented on CASSANDRA-4664:
--------------------------------------------

I agree with Sylvain on this because it was actually a bug which allowed system keyspace to be modified which I fixed in this issue, if you want to modify system keyspace it could be done using CQL3's processInternal call on server-side, as Brandon suggested shuffle could be moved to use JMX+processInternal for insertes and CQL for retrieval.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479578#comment-13479578 ] 

Eric Evans commented on CASSANDRA-4664:
---------------------------------------

bq. +1 from me if we have settled on the point that we want to allow users to make modifications to the system keyspace's data.

This looks as close to consensus as we're going to get, so I've committed this, (and of course, if I'm wrong and there _are_ objections, feel free to reopen the ticket).
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.7
>
>         Attachments: CASSANDRA-4664-allow-modifications.patch, CASSANDRA-4664.patch, v2-0001-CASSANDRA-4664-permit-system-ks-read-write-again.txt
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.

Posted by "Sylvain Lebresne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462050#comment-13462050 ] 

Sylvain Lebresne commented on CASSANDRA-4664:
---------------------------------------------

bq. I would like to preserve ability for clients to write to system in general

Not sure I follow, did we ever allow that? Cause messing with the system tables feels like a very good way to shoot oneself in the foot.
                
> Rename permission USE to DESCRIBE.
> ----------------------------------
>
>                 Key: CASSANDRA-4664
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4664
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Pavel Yaskevich
>            Assignee: Pavel Yaskevich
>             Fix For: 1.1.6
>
>         Attachments: CASSANDRA-4664.patch
>
>
> We should change USE permission to DESCRIBE as it better reflects it's meaning.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira