Hello, I was trying to create a new policy but I e...
# troubleshoot
m
Hello, I was trying to create a new policy but I encountered a small problem: when I first clicked in the resources textbox to select what resources I wanted such policy to be applied to, no resource appeared (first image). The thing is that when I write part of a resource name (second image) and erase it, the resources appear (third image). Is this the expected behaviour? I can't see any error logs or anything like it. I am currently using v0.9.3 for both gms and front, and v0.0.8 for actions
1
e
Hey @microscopic-mechanic-13766 this looks like a bug, I’m able to reproduce
Let me look into fixing this
Hey @microscopic-mechanic-13766 I’m fixing this in this PR https://github.com/datahub-project/datahub/pull/6703
Thanks for pointing out the bug!
m
Looks good although, wouldn't it be better to see all the entities at the first click instead of once you start typing? If I am not mistaken, the first suggestions (like _datahub_db_, _datahub_schema_, Datahub, ...) appeared once you typed a few blank spaces. Could that be possible? And if so, do you think it would be a good idea?
e
Unfortunately with the component we’re using it’s a little tricky to get that to work, but I agree it’d be a good idea
Feel free to take a look and see if you can find a workaround but I was having trouble finding one
m
Perfect, I will try to give it a look. Thanks for the help!