-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The 'all-topics' view does not display according to the RBAC filter #3872
Comments
Hello there javihernanp! 👋 Thank you and congratulations 🎉 for opening your very first issue in this project! 💖 In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀 |
Hello, Thank you for your quick response, This is the config file that I'm using:
For the two outputs you requested, here are both screenshots: I would like to ask if you are using the release 0.7 Kind regards. |
Which cluster stores the topic in question? Your screenshots are cropped, no way to determine that. |
Hello, Indeed, the cluster I obtain for topic[] is the same as the one I have configured, namely "NON_PROD_AWS_EU-WEST-3". I have continued testing, and it works correctly with a Confluent Cloud Basic cluster. However, if I configure a Confluent Cloud Dedicated cluster, such as "NON_PROD_AWS_EU-WEST-3", it doesn't work correctly. I have checked the Service Accounts I am using, and they have the same permissions in both types of clusters. Furthermore, it is worth mentioning that I am also using the code from the master branch. Kind regards. |
|
Hello, Do you have these topics available if RBAC is disabled (no roles specified in config)?
Are there any cluster/topic authorization errors in logs?
Kind regards |
@javihernanp please try running this image: |
Hello @Haarolean, I have been testing by modifying the log level as you indicated, and I have used that version, but I still haven't been able to see anything different in the console output. Would it be possible to have a quick meeting to explain in detail the issue and the different tests we have been conducting? Kind regards |
@javihernanp Sure, let's talk. Got discord? The invite link here. |
@Haarolean, we have seen the same/similar behavior, but can add a bit more context. In our case, we RBAC topic filter on "a." and "B." as a test. What happens is we still see 39 pages of topics as if there was no RBAC topic filter but most pages are blank. Topics "B." show up on page #1 and topics "a." show up on pages 10-11. So sorted by case and the filter just prevents the topics from showing on the page were it would be. If you do try to add a non-allowed topic name to the URL directly, you do get a 403. |
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. |
@javihernanp @dmalik16 could you please try this docker image and tell me if you experience any problems now? |
@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. |
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. |
Issue submitter TODO list
master
-labeled docker image and the issue still persists thereDescribe 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
Logs
No response
Additional context
1 - I have tried all the methods listed in the documentation to define permissions on a topic
The text was updated successfully, but these errors were encountered: