Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Conversation

@Demogorgon314
Copy link
Member

Fixes #1068

Motivation

Currently, we are using lookup to authorize the list topic permission, we should follow the pulsar way by using validateNamespaceOperation(namespaceName, NamespaceOperation.GET_TOPICS); to check the permission.

Modifications

List topic use pulsar GET_TOPICS permission

@Demogorgon314 Demogorgon314 marked this pull request as ready for review February 22, 2022 12:56
Copy link
Contributor

@wenbingshen wenbingshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM. Just left some minor comments. PTAL. :)

@Demogorgon314 Demogorgon314 merged commit 5e7b674 into streamnative:master Feb 23, 2022
@Demogorgon314 Demogorgon314 deleted the Demogorgon314/issue-1068 branch February 23, 2022 02:52
BewareMyPower pushed a commit that referenced this pull request Feb 25, 2022
…1103)

Fixes #1068

### Motivation

Currently, we are using lookup to authorize the list topic permission, we should follow the pulsar way by using `validateNamespaceOperation(namespaceName, NamespaceOperation.GET_TOPICS);` to check the permission.

### Modifications

List topic use pulsar GET_TOPICS permission

(cherry picked from commit 5e7b674)
BewareMyPower pushed a commit that referenced this pull request Feb 25, 2022
…1103)

Fixes #1068

### Motivation

Currently, we are using lookup to authorize the list topic permission, we should follow the pulsar way by using `validateNamespaceOperation(namespaceName, NamespaceOperation.GET_TOPICS);` to check the permission.

### Modifications

List topic use pulsar GET_TOPICS permission

(cherry picked from commit 5e7b674)
BewareMyPower pushed a commit that referenced this pull request Feb 25, 2022
…1103)

Fixes #1068

### Motivation

Currently, we are using lookup to authorize the list topic permission, we should follow the pulsar way by using `validateNamespaceOperation(namespaceName, NamespaceOperation.GET_TOPICS);` to check the permission.

### Modifications

List topic use pulsar GET_TOPICS permission

(cherry picked from commit 5e7b674)
michaeljmarshall pushed a commit to michaeljmarshall/kop that referenced this pull request Dec 13, 2022
…treamnative#1103)

Fixes streamnative#1068

Currently, we are using lookup to authorize the list topic permission, we should follow the pulsar way by using `validateNamespaceOperation(namespaceName, NamespaceOperation.GET_TOPICS);` to check the permission.

List topic use pulsar GET_TOPICS permission

(cherry picked from commit 5e7b674)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][Authorization] KoP handle list topic should mapping to pulsar GET_TOPICS permission

3 participants