import { t } from "../../lib/i18n";
import PermissionChecker from "./components/PermissionChecker";

function AuthPage() {
  return (
    <div className="space-y-6">
      <div className="flex flex-wrap items-end justify-between gap-4">
        <div className="space-y-1">
          <h2 className="text-2xl font-semibold tracking-tight">
            {t("ui.admin.auth_guard.title", "Auth Guard")}
          </h2>
          <p className="text-sm text-muted-foreground">
            {t(
              "ui.admin.auth_guard.subtitle",
              "Verify admin privileges and ReBAC relationships against the policy engine.",
            )}
          </p>
        </div>
      </div>

      <PermissionChecker />
    </div>
  );
}

export default AuthPage;
