From fe5999cefffebcd347f796516fc60375929005d1 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:49:09 +0530 Subject: [PATCH] fix: intake issue permission (#6136) --- web/core/components/inbox/content/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/components/inbox/content/root.tsx b/web/core/components/inbox/content/root.tsx index 6963ffdd0c..64d1257e91 100644 --- a/web/core/components/inbox/content/root.tsx +++ b/web/core/components/inbox/content/root.tsx @@ -64,7 +64,7 @@ export const InboxContentRoot: FC = observer((props) => { const isEditable = allowPermissions([EUserPermissions.ADMIN], EUserPermissionsLevel.PROJECT, workspaceSlug, projectId) || - inboxIssue?.created_by === currentUser?.id; + inboxIssue?.issue.created_by === currentUser?.id; const isGuest = projectPermissionsByWorkspaceSlugAndProjectId(workspaceSlug, projectId) === EUserPermissions.GUEST; const isOwner = inboxIssue?.issue.created_by === currentUser?.id;