-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
No Option to enter TABLE specific permissions when database name contains _ (underscore) #16477
Comments
Hi @Schwuuuuup ! @shucon would you agree to work on this one ? |
Sure!! |
I have not looked at the code yet but have a guess as to what's going on. Since a literal underscore is considered a wildcard, it's likely that we aren't properly escaping it here (like |
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Thanks @ibennetch , this is exactly what's happening. The database name weren't properly escaped. |
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Signed-off-by: Saksham Gupta <shucon01@gmail.com>
#16481 (review) is part of the fix made for this issue. Making this issue a double issue. |
Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
Describe the bug
I was used to grant permissions for single tables instead of permissions for whole databases. For this I opened the useraccount for editing, and klicked on the button "Database" and then on "Table" to select specific Tables for access.
The button "Table" is missing for all Databases with names containing an underscore.
To Reproduce
User accounts->edit permissions->select "Database" button -> see that there does not appear a button "Table"
See Screenshots
Expected behavior
An underscore in the name should not influence what permissions can be granted.
sie examlpes in the screenshots for "testwithoutunderscore"
Screenshots
Server configuration
Client configuration
Additional context
The Problem must have showed up some time in the past. I guess it was about half a year ago when I last used this feature and back then it worked fine.
The text was updated successfully, but these errors were encountered: