"use client";

import AdminResourceList from "@/app/features/AdminList/AdminResourceList";

export default function PermissionsPage() {
  return (
    <AdminResourceList
      title="Permissions"
      endpoint="/api/dashboard/admin/permissions"
      responseCollectionKeys={["permissions", "data", "items"]}
      primaryLabelKeys={["name", "permissionName", "title", "description"]}
      chipKeys={["status", "scope", "category"]}
    />
  );
}
