Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] When creating and updating Topic, there will be problems with permission settings #7149

Closed
3 tasks done
shirenchuang opened this issue Aug 10, 2023 · 0 comments · Fixed by #7151
Closed
3 tasks done

Comments

@shirenchuang
Copy link
Contributor

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

Mac

RocketMQ version

all version

I see the version 5.1.3

JDK Version

jdk 11

Describe the Bug

image

If Broker configuration brokerPermission is not a read + write permission, then Topic's own permission configuration will directly use Broker's brokerPermission permission configuration, which I think should be the intersection of Broker and Topic permissions;

Steps to Reproduce

BrokerController#registerIncrementBrokerData

What Did You Expect to See?

it should be like this

image

What Did You See Instead?

.

Additional Context

No response

shirenchuang pushed a commit to shirenchuang/rocketmq that referenced this issue Aug 10, 2023
… will be problems with permission settings
shirenchuang pushed a commit to shirenchuang/rocketmq that referenced this issue Aug 10, 2023
… will be problems with permission settings
RongtongJin pushed a commit that referenced this issue Aug 23, 2023
…s with permission settings (#7151)

* [ISSUE #7149] fix bug : When creating and updating Topic, there will be problems with permission settings

* [ISSUE #7149] fix bug : When creating and updating Topic, there will be problems with permission settings

* [issue#7249]

---------

Co-authored-by: 十真 <shirenchuang.src@cainiao.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant