"use client";

import { RequireRole } from "@/components/dashboard/require-role";

export default function UsersLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <RequireRole roles={["admin"]} permissions={["manage-users"]} redirectTo="/dashboard">
      {children}
    </RequireRole>
  );
}
