Files
Frontend/src/app/(withAuth)/(dashboardLayout)/dashboard/roles/page.js
2025-07-29 09:33:55 +03:30

17 lines
353 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import RolesPage from "@/components/dashboard/Roles";
import WithPermission from "@/core/middlewares/withPermission";
export const metadata = {
title: "نقش ها",
};
const Page = () => {
return (
<WithPermission permission_name={["manage_roles"]}>
<RolesPage />
</WithPermission>
);
};
export default Page;