Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug:fix add assignees permission bug on New PR from forked repo
In gitea now seting, only users have write permission can add Assignees, but if a user who don't have write permission also can add Assignees when they creat a Pull Request from a forked repo ,Because It haven't check the permission, so it's a bug. This PR should fix this bug by add a check for write permission. two other small changes: * hide gear on new PR page when it's not necessary like go-gitea#10750, * remove some unusefull comments. Signed-off-by: a1012112796 <[email protected]>
- Loading branch information