mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Getting organization by slug, adding this in url. And working on permissions.
This commit is contained in:
+11
-4
@@ -7,19 +7,26 @@ import {Button} from "@/components/ui/button";
|
|||||||
import {Page, PageActions, PageContent, PageHeader, PageTitle} from "@/features/layout/page";
|
import {Page, PageActions, PageContent, PageHeader, PageTitle} from "@/features/layout/page";
|
||||||
import {ProjectCard} from "@/components/wrappers/dashboard/projects/ProjectCard/ProjectCard";
|
import {ProjectCard} from "@/components/wrappers/dashboard/projects/ProjectCard/ProjectCard";
|
||||||
import {requiredCurrentUser} from "@/auth/current-user";
|
import {requiredCurrentUser} from "@/auth/current-user";
|
||||||
import {getCurrentOrganizationId} from "@/features/dashboard/organization-cookie";
|
import {getCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
|
import {currentOrganization} from "@/auth/current-organization";
|
||||||
|
import {notFound} from "next/navigation";
|
||||||
|
|
||||||
|
|
||||||
export default async function RoutePage(props: PageParams<{}>) {
|
export default async function RoutePage(props: PageParams<{slug: string}>) {
|
||||||
|
const {slug: organizationSlug} = await props.params
|
||||||
|
|
||||||
const user = await requiredCurrentUser()
|
const user = await requiredCurrentUser()
|
||||||
|
|
||||||
const currentOrganizationId = await getCurrentOrganizationId()
|
const currentOrganizationSlug = await getCurrentOrganizationSlug()
|
||||||
|
|
||||||
|
if(currentOrganizationSlug != organizationSlug) {
|
||||||
|
notFound()
|
||||||
|
}
|
||||||
|
|
||||||
const projects = await prisma.project.findMany({
|
const projects = await prisma.project.findMany({
|
||||||
where: {
|
where: {
|
||||||
organization: {
|
organization: {
|
||||||
id: currentOrganizationId,
|
slug: organizationSlug,
|
||||||
// users: {
|
// users: {
|
||||||
// some: {
|
// some: {
|
||||||
// userId: user.id
|
// userId: user.id
|
||||||
+10
-5
@@ -3,7 +3,7 @@ import {PageParams} from "@/types/next";
|
|||||||
import {Page, PageActions, PageContent, PageDescription, PageHeader, PageTitle} from "@/features/layout/page";
|
import {Page, PageActions, PageContent, PageDescription, PageHeader, PageTitle} from "@/features/layout/page";
|
||||||
import {requiredCurrentUser} from "@/auth/current-user";
|
import {requiredCurrentUser} from "@/auth/current-user";
|
||||||
import {SettingsTabs} from "@/components/wrappers/dashboard/settings/SettingsTabs/SettingsTabs";
|
import {SettingsTabs} from "@/components/wrappers/dashboard/settings/SettingsTabs/SettingsTabs";
|
||||||
import {getCurrentOrganizationId} from "@/features/dashboard/organization-cookie";
|
import {getCurrentOrganizationId, getCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
import {Button} from "@/components/ui/button";
|
import {Button} from "@/components/ui/button";
|
||||||
import {ButtonWithConfirm} from "@/components/wrappers/common/button/button-with-confirm";
|
import {ButtonWithConfirm} from "@/components/wrappers/common/button/button-with-confirm";
|
||||||
import {
|
import {
|
||||||
@@ -14,13 +14,19 @@ import {
|
|||||||
export default async function RoutePage(props: PageParams<{}>) {
|
export default async function RoutePage(props: PageParams<{}>) {
|
||||||
const user = await requiredCurrentUser()
|
const user = await requiredCurrentUser()
|
||||||
|
|
||||||
const currentOrganizationId = await getCurrentOrganizationId()
|
const currentOrganizationSlug = await getCurrentOrganizationSlug()
|
||||||
|
|
||||||
|
const organization = await prisma.organization.findUnique({
|
||||||
|
where:{
|
||||||
|
slug: currentOrganizationSlug,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
const users = await prisma.user.findMany({
|
const users = await prisma.user.findMany({
|
||||||
where: {
|
where: {
|
||||||
organizations: {
|
organizations: {
|
||||||
some: {
|
some: {
|
||||||
organizationId: currentOrganizationId
|
organizationId: organization.id
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
deleted: {not: true},
|
deleted: {not: true},
|
||||||
@@ -28,7 +34,6 @@ export default async function RoutePage(props: PageParams<{}>) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(currentOrganizationId)
|
|
||||||
|
|
||||||
const settings = await prisma.settings.findUnique({
|
const settings = await prisma.settings.findUnique({
|
||||||
where: {
|
where: {
|
||||||
@@ -44,7 +49,7 @@ export default async function RoutePage(props: PageParams<{}>) {
|
|||||||
</PageTitle>
|
</PageTitle>
|
||||||
<PageActions>
|
<PageActions>
|
||||||
{/*<Button variant="destructive">Delete Organization</Button>*/}
|
{/*<Button variant="destructive">Delete Organization</Button>*/}
|
||||||
<DeleteOrganizationButton organizationId={currentOrganizationId}/>
|
<DeleteOrganizationButton organizationSlug={currentOrganizationSlug}/>
|
||||||
</PageActions>
|
</PageActions>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
<PageDescription>
|
<PageDescription>
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
import {PageParams} from "@/types/next";
|
import {PageParams} from "@/types/next";
|
||||||
import {redirect} from "next/navigation";
|
import {redirect} from "next/navigation";
|
||||||
|
import {getCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
|
|
||||||
export default async function RoutePage(props: PageParams<{}>) {
|
export default async function RoutePage(props: PageParams<{}>) {
|
||||||
redirect("/dashboard/projects")
|
|
||||||
|
const currentOrganizationSlug = await getCurrentOrganizationSlug()
|
||||||
|
redirect(`/dashboard/${currentOrganizationSlug}/projects`)
|
||||||
}
|
}
|
||||||
+2
-2
@@ -106,8 +106,8 @@ model Organization extends Base {
|
|||||||
users UserOrganization[]
|
users UserOrganization[]
|
||||||
deleted Boolean? @default(false)
|
deleted Boolean? @default(false)
|
||||||
|
|
||||||
@@allow('create,read,update', true)
|
// Allow only users who are part of the organization
|
||||||
|
@@allow('all', users?[user == auth()])
|
||||||
|
|
||||||
@@map("organizations")
|
@@map("organizations")
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-4
@@ -4,21 +4,21 @@ import {
|
|||||||
deleteOrganizationAction,
|
deleteOrganizationAction,
|
||||||
} from "@/components/wrappers/dashboard/organization/organization.action";
|
} from "@/components/wrappers/dashboard/organization/organization.action";
|
||||||
import {useMutation} from "@tanstack/react-query";
|
import {useMutation} from "@tanstack/react-query";
|
||||||
import {setCurrentOrganizationId} from "@/features/dashboard/organization-cookie";
|
import {setCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
import {useRouter} from "next/navigation";
|
import {useRouter} from "next/navigation";
|
||||||
|
|
||||||
export type DeleteOrganizationButtonProps = {
|
export type DeleteOrganizationButtonProps = {
|
||||||
organizationId: string;
|
organizationSlug: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const DeleteOrganizationButton = (props: DeleteOrganizationButtonProps) => {
|
export const DeleteOrganizationButton = (props: DeleteOrganizationButtonProps) => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const mutation = useMutation({
|
const mutation = useMutation({
|
||||||
mutationFn: () => deleteOrganizationAction(props.organizationId),
|
mutationFn: () => deleteOrganizationAction(props.organizationSlug),
|
||||||
onSuccess: async (result) => {
|
onSuccess: async (result) => {
|
||||||
console.log(result);
|
console.log(result);
|
||||||
if(result.data.success) {
|
if(result.data.success) {
|
||||||
await setCurrentOrganizationId("default")
|
await setCurrentOrganizationSlug("default")
|
||||||
router.push("/dashboard")
|
router.push("/dashboard")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -80,7 +80,12 @@ export function CreateOrganizationModal(props: createOrganizationModalProps) {
|
|||||||
<FormItem>
|
<FormItem>
|
||||||
<FormLabel>Slug</FormLabel>
|
<FormLabel>Slug</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<Input {...field} />
|
<Input {...field}
|
||||||
|
onChange={(e) => {
|
||||||
|
const value = e.target.value.replaceAll(" ", "-").toLowerCase()
|
||||||
|
field.onChange(value)
|
||||||
|
}}
|
||||||
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage/>
|
<FormMessage/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|||||||
@@ -4,8 +4,12 @@ import {useEffect, useState} from "react";
|
|||||||
|
|
||||||
import {ComboBox} from "@/components/wrappers/common/combobox";
|
import {ComboBox} from "@/components/wrappers/common/combobox";
|
||||||
import {Organization} from "@prisma/client";
|
import {Organization} from "@prisma/client";
|
||||||
import {getCurrentOrganizationId, setCurrentOrganizationId} from "@/features/dashboard/organization-cookie";
|
import {
|
||||||
|
getCurrentOrganizationSlug,
|
||||||
|
setCurrentOrganizationSlug
|
||||||
|
} from "@/features/dashboard/organization-cookie";
|
||||||
import {useSidebar} from "@/components/ui/sidebar";
|
import {useSidebar} from "@/components/ui/sidebar";
|
||||||
|
import {useRouter} from "next/navigation";
|
||||||
|
|
||||||
export type organizationComboBoxProps = {
|
export type organizationComboBoxProps = {
|
||||||
organizations: Organization[]
|
organizations: Organization[]
|
||||||
@@ -14,42 +18,43 @@ export type organizationComboBoxProps = {
|
|||||||
|
|
||||||
|
|
||||||
export function OrganizationCombobox(props: organizationComboBoxProps) {
|
export function OrganizationCombobox(props: organizationComboBoxProps) {
|
||||||
|
const router = useRouter()
|
||||||
// const {organizationId, moveToAnotherOrganization} = useStore((state) => state);
|
// const {organizationId, moveToAnotherOrganization} = useStore((state) => state);
|
||||||
|
|
||||||
const [organizationId, setOrganizationId] = useState<string>()
|
const [organizationSlug, setOrganizationSlug] = useState<string>()
|
||||||
|
|
||||||
const {organizations, defaultOrganization} = props
|
const {organizations, defaultOrganization} = props
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
getCurrentOrganizationId().then(id => {
|
getCurrentOrganizationSlug().then(slug => {
|
||||||
|
|
||||||
if (id == "") {
|
if (slug == "") {
|
||||||
setOrganizationId(defaultOrganization.id)
|
setOrganizationSlug(defaultOrganization.id)
|
||||||
setCurrentOrganizationId(defaultOrganization.id)
|
setCurrentOrganizationSlug(defaultOrganization.slug)
|
||||||
} else {
|
} else {
|
||||||
setOrganizationId(id)
|
setOrganizationSlug(slug)
|
||||||
const organization = organizations.find(organization => organization.id === id)
|
const organization = organizations.find(organization => organization.slug === slug)
|
||||||
if (!organization) {
|
if (!organization) {
|
||||||
setOrganizationId(defaultOrganization.id)
|
setOrganizationSlug(defaultOrganization.id)
|
||||||
setCurrentOrganizationId(defaultOrganization.id)
|
setCurrentOrganizationSlug(defaultOrganization.slug)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
}, [organizationId])
|
}, [organizationSlug])
|
||||||
|
|
||||||
const values = organizations.map(organization => {
|
const values = organizations.map(organization => {
|
||||||
return ({
|
return ({
|
||||||
value: organization.id,
|
value: organization.slug,
|
||||||
label: organization.name,
|
label: organization.name,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
const onValueChange = (id: string) => {
|
const onValueChange = (slug: string) => {
|
||||||
if (organizationId !== id) {
|
if (organizationSlug !== slug) {
|
||||||
setOrganizationId(id)
|
setOrganizationSlug(slug)
|
||||||
setCurrentOrganizationId(id)
|
setCurrentOrganizationSlug(slug)
|
||||||
|
router.replace("/dashboard")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const {state, isMobile} = useSidebar();
|
const {state, isMobile} = useSidebar();
|
||||||
@@ -61,7 +66,7 @@ export function OrganizationCombobox(props: organizationComboBoxProps) {
|
|||||||
<ComboBox
|
<ComboBox
|
||||||
sideBar
|
sideBar
|
||||||
values={values}
|
values={values}
|
||||||
defaultValue={organizationId}
|
defaultValue={organizationSlug}
|
||||||
onValueChange={onValueChange}/>
|
onValueChange={onValueChange}/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export const deleteOrganizationAction = userAction
|
|||||||
const uuid = uuidv4()
|
const uuid = uuidv4()
|
||||||
const organization = await db.organization.findFirst({
|
const organization = await db.organization.findFirst({
|
||||||
where: {
|
where: {
|
||||||
id: parsedInput,
|
slug: parsedInput,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(organization);
|
console.log(organization);
|
||||||
|
|||||||
@@ -2,9 +2,11 @@ import {z} from "zod";
|
|||||||
|
|
||||||
|
|
||||||
export const OrganizationSchema = z.object({
|
export const OrganizationSchema = z.object({
|
||||||
name: z.string().min(5).max(40),
|
name: z.string().min(5, 'Name must be at least 5 characters long').max(40, 'Name must be at most 40 characters long'),
|
||||||
slug: z.string().regex(/^[a-zA-Z0-9_-]*$/).min(5).max(20),
|
slug: z.string()
|
||||||
|
.regex(/^[a-zA-Z0-9_-]*$/, 'Slug can only contain letters, numbers, underscores, and hyphens')
|
||||||
|
.min(5, 'Slug must be at least 5 characters long')
|
||||||
|
.max(20, 'Slug must be at most 20 characters long'),
|
||||||
});
|
});
|
||||||
|
|
||||||
export type OrganizationSchema = z.infer<typeof OrganizationSchema>;
|
export type OrganizationSchema = z.infer<typeof OrganizationSchema>;
|
||||||
|
|||||||
@@ -8,11 +8,13 @@ import {buttonVariants} from "@/components/ui/button";
|
|||||||
import {ChartArea, Layers, Settings, ShieldHalf} from "lucide-react";
|
import {ChartArea, Layers, Settings, ShieldHalf} from "lucide-react";
|
||||||
import {usePathname} from "next/navigation";
|
import {usePathname} from "next/navigation";
|
||||||
|
|
||||||
export type SidebarMenuCustomProps = {}
|
export type SidebarMenuCustomProps = {
|
||||||
|
currentOrganizationSlug: string
|
||||||
|
}
|
||||||
|
|
||||||
export const SidebarMenuCustom = (props: SidebarMenuCustomProps) => {
|
export const SidebarMenuCustom = (props: SidebarMenuCustomProps) => {
|
||||||
|
|
||||||
const BASE_URL = "/dashboard";
|
const BASE_URL = `/dashboard/${props.currentOrganizationSlug}`;
|
||||||
const pathname = usePathname();
|
const pathname = usePathname();
|
||||||
// Menu items.
|
// Menu items.
|
||||||
const items = [
|
const items = [
|
||||||
|
|||||||
@@ -9,17 +9,17 @@ import {
|
|||||||
import {SidebarMenuCustom} from "@/components/wrappers/dashboard/sideBar/SideBarMenu/SideBarMenu";
|
import {SidebarMenuCustom} from "@/components/wrappers/dashboard/sideBar/SideBarMenu/SideBarMenu";
|
||||||
import {OrganizationCombobox} from "@/components/wrappers/dashboard/organization/organization-combobox";
|
import {OrganizationCombobox} from "@/components/wrappers/dashboard/organization/organization-combobox";
|
||||||
import {prisma} from "@/prisma";
|
import {prisma} from "@/prisma";
|
||||||
import {requiredCurrentUser} from "@/auth/current-user";
|
import {currentUser, requiredCurrentUser} from "@/auth/current-user";
|
||||||
import {SideBarLogo} from "@/components/wrappers/dashboard/sideBar/SideBarLogo/SideBarLogo";
|
import {SideBarLogo} from "@/components/wrappers/dashboard/sideBar/SideBarLogo/SideBarLogo";
|
||||||
import {SideBarFooterCredit} from "@/components/wrappers/dashboard/sideBar/SideBarFooterCredit/SideBarFooterCredit";
|
import {SideBarFooterCredit} from "@/components/wrappers/dashboard/sideBar/SideBarFooterCredit/SideBarFooterCredit";
|
||||||
import {LoggedInButton} from "@/components/wrappers/dashboard/loggedInButton/LoggedInButton";
|
import {LoggedInButton} from "@/components/wrappers/dashboard/loggedInButton/LoggedInButton";
|
||||||
import {db} from "@/db";
|
|
||||||
import {checkAllPermissions} from "@/features/permissions/permissions";
|
|
||||||
import {SidebarMenuAdmin} from "@/components/wrappers/dashboard/sideBar/SideBarMenu/SideBarMenuAdmin";
|
import {SidebarMenuAdmin} from "@/components/wrappers/dashboard/sideBar/SideBarMenu/SideBarMenuAdmin";
|
||||||
|
import {getCurrentOrganizationSlug} from "@/features/dashboard/organization-cookie";
|
||||||
|
|
||||||
export async function AppSidebar() {
|
export async function AppSidebar() {
|
||||||
|
|
||||||
const user = await requiredCurrentUser()
|
const user = await requiredCurrentUser()
|
||||||
|
const currentOrganizationSlug = await getCurrentOrganizationSlug()
|
||||||
const organizations = await prisma.organization.findMany({
|
const organizations = await prisma.organization.findMany({
|
||||||
where: {
|
where: {
|
||||||
users: {
|
users: {
|
||||||
@@ -57,7 +57,7 @@ export async function AppSidebar() {
|
|||||||
<SidebarGroup>
|
<SidebarGroup>
|
||||||
<SidebarGroupLabel>Application</SidebarGroupLabel>
|
<SidebarGroupLabel>Application</SidebarGroupLabel>
|
||||||
<SidebarGroupContent>
|
<SidebarGroupContent>
|
||||||
<SidebarMenuCustom/>
|
<SidebarMenuCustom currentOrganizationSlug={currentOrganizationSlug}/>
|
||||||
</SidebarGroupContent>
|
</SidebarGroupContent>
|
||||||
</SidebarGroup>
|
</SidebarGroup>
|
||||||
{user.role == "admin" ?
|
{user.role == "admin" ?
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ import {cookies} from 'next/headers';
|
|||||||
|
|
||||||
const COOKIE_NAME = 'PORTABASE_ORGANIZATION_SLUG';
|
const COOKIE_NAME = 'PORTABASE_ORGANIZATION_SLUG';
|
||||||
|
|
||||||
export async function getCurrentOrganizationId() {
|
export async function getCurrentOrganizationSlug() {
|
||||||
return (await cookies()).get(COOKIE_NAME)?.value || "";
|
return (await cookies()).get(COOKIE_NAME)?.value || "";
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function setCurrentOrganizationId(slug: string) {
|
export async function setCurrentOrganizationSlug(slug: string) {
|
||||||
return (await cookies()).set(COOKIE_NAME, slug).get(COOKIE_NAME)?.value;
|
return (await cookies()).set(COOKIE_NAME, slug).get(COOKIE_NAME)?.value;
|
||||||
}
|
}
|
||||||
@@ -22384,7 +22384,6 @@ paths:
|
|||||||
description: Create a new Organization
|
description: Create a new Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22430,7 +22429,6 @@ paths:
|
|||||||
description: Create several Organization
|
description: Create several Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22476,7 +22474,6 @@ paths:
|
|||||||
description: Find one unique Organization
|
description: Find one unique Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22532,7 +22529,6 @@ paths:
|
|||||||
description: Find the first Organization matching the given condition
|
description: Find the first Organization matching the given condition
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22588,7 +22584,6 @@ paths:
|
|||||||
description: Find a list of Organization
|
description: Find a list of Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22646,7 +22641,6 @@ paths:
|
|||||||
description: Update a Organization
|
description: Update a Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22692,7 +22686,6 @@ paths:
|
|||||||
description: Update Organizations matching the given condition
|
description: Update Organizations matching the given condition
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22738,7 +22731,6 @@ paths:
|
|||||||
description: Upsert a Organization
|
description: Upsert a Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22894,7 +22886,6 @@ paths:
|
|||||||
description: Find a list of Organization
|
description: Find a list of Organization
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -22952,7 +22943,6 @@ paths:
|
|||||||
description: Aggregate Organizations
|
description: Aggregate Organizations
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
@@ -23008,7 +22998,6 @@ paths:
|
|||||||
description: Group Organizations by fields
|
description: Group Organizations by fields
|
||||||
tags:
|
tags:
|
||||||
- organization
|
- organization
|
||||||
security: []
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|||||||
Reference in New Issue
Block a user