[ISSUE #1976]System topic should add permission checking globally (#1985)
* fix #1976 System Topic like SCHEDULE_TOPIC_XXXX should not be create or delete by user * User can not send message to system topic SCHEDULE_TOPIC_XXXX * the-->The * fix magic number 18 * move system topic to TopicValidator except TBW102 * move TBW102 and isSystemTopic to TopicValidator * add test code * validateTopic --> validatorSystemTopic, validatorBlacklistTopic * validateTopic --> validatorSystemTopic, validatorBlacklistTopic * rename some methods
Showing
想要评论请 注册 或 登录