import { ShieldHalf } from "lucide-react";
import { PageHeader } from "../../../../common/core/components/page";
import { t } from "../../lib/i18n";
import PermissionChecker from "./components/PermissionChecker";

function AuthPage() {
  return (
    <div className="space-y-6">
      <PageHeader
        titleAs="h2"
        icon={<ShieldHalf size={20} />}
        title={t("ui.admin.auth_guard.title", "Auth Guard")}
        description={t(
          "ui.admin.auth_guard.subtitle",
          "Verify admin privileges and ReBAC relationships against the policy engine.",
        )}
      />

      <PermissionChecker />
    </div>
  );
}

export default AuthPage;
