kafka-ui: The 'all-topics' view does not display according to the RBAC filter

Issue submitter TODO list

  • I’ve looked up my issue in FAQ
  • I’ve searched for an already existing issues here
  • I’ve tried running master-labeled docker image and the issue still persists there
  • I’m running a supported version of the application which is listed here

Describe the bug (actual behavior)

I was working with RBAC to filter permissions by topics, and the issue I’m facing is that in the “all-topics” URI, unlike with schemas or other tabs, it doesn’t display the filtered topic unless I search for them in the search bar.

Expected behavior

It should display, like in the rest of the tabs, only the topics that comply with the RBAC configuration.

Your installation details

1 - 7.0 version 2 - Im not using it 3 - This is the RBAC that I’m using

resource: topic value: “dev.*” actions: all

Steps to reproduce

Simply modify the configuration file in the topic permissions section to allow access only to specific topics.

Screenshots

image image

Logs

No response

Additional context

1 - I have tried all the methods listed in the documentation to define permissions on a topic

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

Hello @Haarolean ,

I have tested the changes, and now it is working correctly with the applied RBAC configuration. Thank you very much for resolving the issue promptly. I was wondering if these changes will be included in the main branch in the next patch. If so, could you please let me know the estimated release date for that patch? Once again, I would like to express my appreciation for the work done and the speed at which it was resolved.

Best regards.

@Haarolean, we pulled that image down and tested it out. It now displays as expected. In our case the filtered topics appeared over 2 pages total as if they were the only topics. Thanks!

Hello @Haarolean,

I’m sorry, but at that time I was already disconnected and couldn’t see that you sent me a link. I have been testing what @dmalik16 mentioned in the previous comment, and indeed, that is the cause of the error. I have been testing it, and it does show up on the original pages as if all the topics were displayed, just as explained. Since we already know the origin of the issue, I believe it is no longer necessary to have a call to further investigate the issue. Please let me know if you need more information. I would like to know an estimated time for the resolution of the issue., and thank you very much for the support and work done so far.

Best regards.