cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7607) Test coverage for authorization in DDL & DML statements
Date Thu, 23 Oct 2014 18:52:34 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181765#comment-14181765
] 

Michael Shuler commented on CASSANDRA-7607:
-------------------------------------------

Another dtest hint - you can write a dtest method as it should behave, even if the behavior
is not complete in C*, yet, and annotate it with "require" (my preference is with the full
URL, so links in jenkins work).

{noformat}
from pytools import require

@require('https://issues.apache.org/jira/browse/CASSANDRA-7557')
    <...test that fails, now, but should work when 7557 is complete..>
{noformat}

We sift through @require() tests periodically, but they will be skipped during full CI runs
while that tag is on there.

> Test coverage for authorization in DDL & DML statements
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7607
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7607
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Robert Stupp
>            Assignee: Rajanarayanan Thottuvaikkatumana
>              Labels: lhf, unit-test
>             Fix For: 2.0.12
>
>
> Similar to CASSANDRA-7604
> Check that the statements perform proper authorization (allow / reject):
> * {{CREATE KEYSPACE}}
> * {{ALTER KEYSPACE}}
> * {{DROP KEYSPACE}}
> * {{CREATE TABLE}}
> * {{ALTER TABLE}}
> * {{DROP TABLE}}
> * {{CREATE TYPE}}
> * {{ALTER TYPE}}
> * {{DROP TYPE}}
> * {{CREATE INDEX}}
> * {{DROP INDEX}}
> * {{CREATE TRIGGER}}
> * {{DROP TRIGGER}}
> * {{CREATE USER}}
> * {{ALTER USER}}
> * {{DROP USER}}
> * {{TRUNCATE}}
> * {{GRANT}}
> * {{REVOKE}}
> * {{SELECT}}
> * {{UPDATE}}
> * {{DELETE}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message