π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-2449] fix: admin is not able to edit issues in notifications peek overview (#5877)
Ketan Sharma22b616b03cb8
diff --git a/web/core/components/inbox/content/root.tsx b/web/core/components/inbox/content/root.tsxindex 7b9c3aa757..6963ffdd0c 100644--- a/web/core/components/inbox/content/root.tsx+++ b/web/core/components/inbox/content/root.tsx@@ -63,8 +63,8 @@ export const InboxContentRoot: FC<TInboxContentRoot> = observer((props) => {);const isEditable =- allowPermissions([EUserPermissions.ADMIN], EUserPermissionsLevel.PROJECT) ||- inboxIssue?.issue?.created_by === currentUser?.id;+ allowPermissions([EUserPermissions.ADMIN], EUserPermissionsLevel.PROJECT, workspaceSlug, projectId) ||+ inboxIssue?.created_by === currentUser?.id;const isGuest = projectPermissionsByWorkspaceSlugAndProjectId(workspaceSlug, projectId) === EUserPermissions.GUEST;const isOwner = inboxIssue?.issue.created_by === currentUser?.id;