Skip to content

Commit 7c53a3e

Browse files
authored
Merge pull request #3316 from Dokploy/feat/add-admin-creation-projects
fix: update project handling permissions to include admin role
2 parents db97de2 + c065c85 commit 7c53a3e

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)