Updates
This commit is contained in:
+3
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user