Update Server Admin Console documentation and add a fix for endpoint /admin-access

This commit is contained in:
carlosmonastyrski
2025-03-04 15:29:34 -03:00
parent 08ec8c9b73
commit bbf60169eb
5 changed files with 6 additions and 10 deletions
@@ -297,10 +297,7 @@ export const superAdminServiceFactory = ({
message: "Failed to grant server admin access to user due to plan restriction. Upgrade to Infisical's Pro plan."
});
}
await userDAL.transaction(async (tx) => {
await userDAL.updateById(userId, { superAdmin: true }, tx);
});
await userDAL.updateById(userId, { superAdmin: true });
};
const getAdminSlackConfig = async () => {