fix: guest user intake issue edit validation (#5898)
This commit is contained in:
parent
6df98099f5
commit
84c06c4713
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ export const InboxContentRoot: FC<TInboxContentRoot> = 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue