api: decide who may edit an issue or pull request in one canEditThreadVerifiedBrowse files at 9ca0234
Gurpal committed 5 days ago · 7 changed files
The pull request detail's viewerCanEdit rewrote the issue service's canEditIssue inline; both now call lib/issues/can-edit-thread.ts. The merge reads the narrowed mergeBase it captured, and five requesterId: requesterId arguments are shorthand.