mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 17:41:16 +00:00
feat: go greppy
This commit is contained in:
@@ -597,7 +597,7 @@ export const superAdminServiceFactory = ({
|
||||
{
|
||||
actorIdentityId: newIdentity.id,
|
||||
scopeOrgId: organization.id,
|
||||
scope: AccessScope.Project
|
||||
scope: AccessScope.Organization
|
||||
},
|
||||
tx
|
||||
);
|
||||
@@ -947,6 +947,9 @@ export const superAdminServiceFactory = ({
|
||||
}
|
||||
|
||||
const membershipRole = await membershipRoleDAL.findOne({ membershipId });
|
||||
if (!membershipRole) {
|
||||
throw new NotFoundError({ name: "Membership Role", message: "Membership role not found" });
|
||||
}
|
||||
const [organizationMembership] = await membershipUserDAL.delete({
|
||||
scopeOrgId: organizationId,
|
||||
scope: AccessScope.Organization,
|
||||
|
||||
Reference in New Issue
Block a user