[ 
https://issues.apache.org/jira/browse/KAFKA-2951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Junqueira updated KAFKA-2951:
------------------------------------
    Description: 
There are a few test cases that are worth adding. I've run them manually, but 
it sounds like a good idea to have them in:

# Test incorrect topic name (authorization failure)
# Test topic wildcard

The first one is covered by checking access to a topic with no authorization, 
which could happen for example if the user as a typo in the topic name. This 
case is somewhat covered by the test case testProduceWithNoTopicAccess in 
AuthorizerIntegrationTest, but not in EndToEndAuthorizationTest. The second 
case consists of testing that using the topic wildcard works. This wildcard 
might end up being commonly used and it is worth checking the functionality. At 
the moment, I believe none of AuthorizerIntegrationTest or 
EndToEndAuthorizationTest.

  was:
There are a few test cases that are worth adding. I've run them manually, but 
it sounds like a good idea to have them in:

# Test incorrect topic name (authorization failure)
# Test topic wildcard


> Additional authorization test cases
> -----------------------------------
>
>                 Key: KAFKA-2951
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2951
>             Project: Kafka
>          Issue Type: Test
>    Affects Versions: 0.9.0.0
>            Reporter: Flavio Junqueira
>            Assignee: Flavio Junqueira
>             Fix For: 0.9.1.0
>
>
> There are a few test cases that are worth adding. I've run them manually, but 
> it sounds like a good idea to have them in:
> # Test incorrect topic name (authorization failure)
> # Test topic wildcard
> The first one is covered by checking access to a topic with no authorization, 
> which could happen for example if the user as a typo in the topic name. This 
> case is somewhat covered by the test case testProduceWithNoTopicAccess in 
> AuthorizerIntegrationTest, but not in EndToEndAuthorizationTest. The second 
> case consists of testing that using the topic wildcard works. This wildcard 
> might end up being commonly used and it is worth checking the functionality. 
> At the moment, I believe none of AuthorizerIntegrationTest or 
> EndToEndAuthorizationTest.



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

Reply via email to