apache / apache/pulsar

[Bug] topic auto creation does not check for CREATE_TOPIC permission

Open
#17,406 1 comment 1 reaction 1 assignee Claimed by @KannarFr View on GitHub
Stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

2.10

### Minimal reproduction step

Subscribe to an unexisting topic using CONSUME permission but without CREATE_TOPIC permission.

### What did you expect to see?

Authorization error as CREATE_TOPIC is not authorized.

### What did you see instead?

Consumer created and consuming.

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.