fix: update project handling permissions to include admin role

This commit is contained in:
Mauricio Siu
2025-12-19 23:26:12 -06:00
parent db97de2a39
commit c065c85ee6

View File

@@ -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>