RockteMQ-AI commented on issue #4161: URL: https://github.com/apache/rocketmq-dashboard/issues/4161#issuecomment-5586400077
### Proposed Fix Scope 1. Change `deleteRule()` to call `ModifyRole` with both permissions disabled instead of `DeleteRole`. 2. Filter `listRules()` to exclude roles where both `PermRead` and `PermWrite` are disabled. 3. Add regression tests verifying rule deletion preserves the role account. **Verdict:** This is a real and high-impact bug. A fix PR is recommended. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
