feat: go greppy

This commit is contained in:
=
2025-10-10 00:09:48 +05:30
parent fe1bc168f6
commit 97135d9cfa
46 changed files with 150 additions and 106 deletions
@@ -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,