hanslemm opened a new issue, #28638: URL: https://github.com/apache/superset/issues/28638
### Bug description When trying to create a new RLS rule, in the rule pop-up (check image for reference), there is the drop-down field for datasets. If you start filling this pop-up through the dataset field (which would be natural since this the obligatory field), in my version of Superset (and since 3.0.0 tbh I already detected this), not all datasets registered in Superset are available in the drop-down menu. Yet, if you rather start filling this pop-up through the *role* drop-down, then all the datasets will be visible. <img width="436" alt="image" src="https://github.com/apache/superset/assets/32077629/7b771332-2e63-43ea-9178-53ccc6481de7"> ### How to reproduce the bug Preconditions: have RBAC enabled in your Superset config. 1. Create a new dataset. 2. Go to RLS and press the + button to create a new rule. 3. In the new pop-up, there will be the dataset drop-down. Click it, and the new dataset will be missing. 3.1. If you set the role drop-down first, then all datasets will be available to the dataset drop-down. ### Screenshots/recordings _No response_ ### Superset version 4.0.1 ### Python version 3.9 ### Node version I don't know ### Browser Chrome ### Additional context _No response_ ### Checklist - [X] I have searched Superset docs and Slack and didn't find a solution to my problem. - [X] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
