Merge pull request #3316 from Dokploy/feat/add-admin-creation-projects

fix: update project handling permissions to include admin role
This commit is contained in:
Mauricio Siu
2025-12-19 23:26:44 -06:00
committed by GitHub

View File

@@ -190,7 +190,9 @@ export const ShowProjects = () => {
Create and manage your projects
</CardDescription>
</CardHeader>
{(auth?.role === "owner" || auth?.canCreateProjects) && (
{(auth?.role === "owner" ||
auth?.role === "admin" ||
auth?.canCreateProjects) && (
<div className="">
<HandleProject />
</div>