[MDEV-16364] Allow use of wildcard in hostname of grant on specific table Created: 2018-05-31 Updated: 2018-05-31 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Josiah Ritchie | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | authentication, privileges | ||
| Description |
|
I have a multi-tenant application that has one database for each tenant. These thousands of databases are distributed across multiple servers. I have a user who I want to apply table level SELECT,INSERT,UPDATE,DELETE on 6 tables in every database. We frequently add databases and move them between servers for maintenance tasks so maintaining these permissions for each database on each server becomes a significant maintenance task. I tried these, among others, and received the corresponding errors:
I also asked around the community and searched for existing bugs and feature requests in both mysql and mariadb bug tools and couldn't find a solution or bug report. I've been told that this would require scripting out the maintenance of the account as it is not supported. I was going to mark this Priority:Minor, but ended up with Major because there isn't an easy work around that I have been able to figure out for my use case. If that isn't appropriate please correct. |