From c065c85ee6f7e7d3bf1a66722865131a1dcc0d42 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Fri, 19 Dec 2025 23:26:12 -0600 Subject: [PATCH] fix: update project handling permissions to include admin role --- apps/dokploy/components/dashboard/projects/show.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/projects/show.tsx b/apps/dokploy/components/dashboard/projects/show.tsx index 9ce42c1a0..a618a20ac 100644 --- a/apps/dokploy/components/dashboard/projects/show.tsx +++ b/apps/dokploy/components/dashboard/projects/show.tsx @@ -190,7 +190,9 @@ export const ShowProjects = () => { Create and manage your projects - {(auth?.role === "owner" || auth?.canCreateProjects) && ( + {(auth?.role === "owner" || + auth?.role === "admin" || + auth?.canCreateProjects) && (