[
https://issues.apache.org/jira/browse/CASSANDRA-6438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863301#comment-13863301
]
Aleksey Yeschenko commented on CASSANDRA-6438:
----------------------------------------------
- {Create|Alter|Drop}TypeStatement.checkAccess() should now just ask for
hasKeyspaceAccess(keyspace(), Permission.ALTER) (closed CASSANDRA-6304)
- Schema.ignoredSchemaRow() should't exclude SCHEMA_USER_TYPES_CF now
Otherwise LGTM, let the new dtests catch everything else.
> Make user types keyspace scoped
> -------------------------------
>
> Key: CASSANDRA-6438
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6438
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Fix For: 2.1
>
> Attachments: 6438.txt
>
>
> Currently, user types are declared at the top level. I wonder however if we
> might not want to make them scoped to a given keyspace. It was not done in
> the initial patch for simplicity and because I was not sure of the advantages
> of doing so. However, if we ever want to use user types in system tables,
> having them scoped by keyspace means we won't have to care about the new type
> conflicting with another existing type.
> Besides, having user types be part of a keyspace would allow for slightly
> more fine grained permissions on them.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)