feat: added manageby and conditional rendering more items

This commit is contained in:
=
2025-10-20 18:58:43 +05:30
parent 8afc391e97
commit 8824be431f
11 changed files with 57 additions and 15 deletions
@@ -408,7 +408,7 @@ export const samlConfigServiceFactory = ({
});
}
} else if (dto.type === "orgSlug") {
const org = await orgDAL.findOne({ slug: dto.orgSlug });
const org = await orgDAL.findOne({ slug: dto.orgSlug, rootOrgId: null });
if (!org) {
throw new NotFoundError({
message: `Organization with slug '${dto.orgSlug}' not found`