cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4664) Rename permission USE to DESCRIBE.
Date Mon, 01 Oct 2012 10:13:08 GMT

    [ 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

Mime
View raw message