forked from bai/curriculum-project-hub
feat: redesign Feishu project console
This commit is contained in:
@@ -206,7 +206,12 @@ describe("admin explorer API", () => {
|
||||
it("blocks cross-org project access by id", async () => {
|
||||
const token = await seedAdmin();
|
||||
await prisma.organization.create({
|
||||
data: { id: "org_other", slug: "other", name: "Other" },
|
||||
data: {
|
||||
id: "org_other",
|
||||
slug: "other",
|
||||
name: "Other",
|
||||
agentRoles: { create: { roleId: "draft", label: "草稿", isDefault: true } },
|
||||
},
|
||||
});
|
||||
await prisma.project.create({
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user