This commit is contained in:
2025-11-13 06:29:24 +01:00
parent 66f207416d
commit 957709f79d
5 changed files with 15 additions and 1 deletions
@@ -23,6 +23,9 @@ const revoke_all_existing_grants_1 = __importDefault(require("./revoke-all-exist
function handleMariadbUserGrants(_a) {
return __awaiter(this, arguments, void 0, function* ({ accessedDatabases, grants, isAllDbsAccess, isAllGrants, user, updatedRecord, }) {
const { userDbPrefix } = (0, grab_db_names_1.default)({ user });
if (!userDbPrefix) {
throw new Error(`No userDbPrefix generated for grants handling!`);
}
/**
* # Revoke All Existing Grants
*/