You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Eric Evans (JIRA)" <ji...@apache.org> on 2012/10/01 12:13:08 UTC
[jira] [Commented] (CASSANDRA-4664) Rename permission USE to
DESCRIBE.
[ 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