From 84c06c47133ba1fb3ad8c280bba134e954df391a Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:19:10 +0530 Subject: [PATCH] fix: guest user intake issue edit validation (#5898) --- 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 78e682340..7b9c3aa75 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) || - 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;