Skip to content

Commit 3884f59

Browse files
shirenchuang十真
andauthored
[ISSUE apache#7149] When creating and updating Topic, there will be problems with permission settings (apache#7151)
* [ISSUE apache#7149] fix bug : When creating and updating Topic, there will be problems with permission settings * [ISSUE apache#7149] fix bug : When creating and updating Topic, there will be problems with permission settings * [issue#7249] --------- Co-authored-by: 十真 <[email protected]>
1 parent 69c26d3 commit 3884f59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,8 @@ public synchronized void registerIncrementBrokerData(List<TopicConfig> topicConf
17331733
new TopicConfig(topicConfig.getTopicName(),
17341734
topicConfig.getReadQueueNums(),
17351735
topicConfig.getWriteQueueNums(),
1736-
this.brokerConfig.getBrokerPermission(), topicConfig.getTopicSysFlag());
1736+
topicConfig.getPerm()
1737+
& this.brokerConfig.getBrokerPermission(), topicConfig.getTopicSysFlag());
17371738
} else {
17381739
registerTopicConfig = new TopicConfig(topicConfig);
17391740
}

0 commit comments

Comments
 (0)