Add methods to query per-database privileges.