Skip to content

Commit c065c85

Browse files
committed
fix: update project handling permissions to include admin role
1 parent db97de2 commit c065c85

File tree

1 file changed

+3
-1
lines changed
  • apps/dokploy/components/dashboard/projects

1 file changed

+3
-1
lines changed

apps/dokploy/components/dashboard/projects/show.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ export const ShowProjects = () => {
190190
Create and manage your projects
191191
</CardDescription>
192192
</CardHeader>
193-
{(auth?.role === "owner" || auth?.canCreateProjects) && (
193+
{(auth?.role === "owner" ||
194+
auth?.role === "admin" ||
195+
auth?.canCreateProjects) && (
194196
<div className="">
195197
<HandleProject />
196198
</div>

0 commit comments

Comments
 (0)