35 lines
1.0 KiB
TypeScript
35 lines
1.0 KiB
TypeScript
import { AdminSectionPlaceholder } from "@/components/admin-section-placeholder"
|
|
import { AdminShell } from "@/components/admin-shell"
|
|
import { requirePermissionForRoute } from "@/lib/route-guards"
|
|
|
|
export const dynamic = "force-dynamic"
|
|
|
|
export default async function PagesManagementPage() {
|
|
const role = await requirePermissionForRoute({
|
|
nextPath: "/pages",
|
|
permission: "pages:read",
|
|
scope: "team",
|
|
})
|
|
|
|
return (
|
|
<AdminShell
|
|
role={role}
|
|
activePath="/pages"
|
|
badge="Admin App"
|
|
title="Pages"
|
|
description="Manage page entities and publication workflows."
|
|
>
|
|
<AdminSectionPlaceholder
|
|
feature="Page Management"
|
|
summary="This MVP0 scaffold defines information architecture and access boundaries for future page CRUD."
|
|
requiredPermission="pages:read (team)"
|
|
nextSteps={[
|
|
"Add page entity list and search.",
|
|
"Add create/edit draft flows with validation.",
|
|
"Add publish/unpublish scheduling controls.",
|
|
]}
|
|
/>
|
|
</AdminShell>
|
|
)
|
|
}
|