diff --git a/src/app/(dashboard)/workspaces/[workspaceId]/projects/[projectId]/github/client.tsx b/src/app/(dashboard)/workspaces/[workspaceId]/projects/[projectId]/github/client.tsx
index a155647e..0bf6da34 100644
--- a/src/app/(dashboard)/workspaces/[workspaceId]/projects/[projectId]/github/client.tsx
+++ b/src/app/(dashboard)/workspaces/[workspaceId]/projects/[projectId]/github/client.tsx
@@ -33,11 +33,14 @@ import {
COMMIT_CACHE_CHANNEL,
} from "@/features/github-integration/lib/commit-cache";
import { useWorkspaceId } from "@/features/workspaces/hooks/use-workspace-id";
+import { useProjectPermissions } from "@/hooks/use-project-permissions";
export const GitHubIntegrationClient = () => {
const projectId = useProjectId();
const workspaceId = useWorkspaceId();
const { data: repository, isLoading } = useGetRepository(projectId);
+ const { isProjectAdmin } = useProjectPermissions({ projectId, workspaceId });
+ const canManageGithub = isProjectAdmin;
const [commitsCount, setCommitsCount] = useState(0);
const documentationPath = workspaceId
? `/workspaces/${workspaceId}/projects/${projectId}/github/documentation`
@@ -188,7 +191,7 @@ export const GitHubIntegrationClient = () => {