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