-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Users with only read rights can select assignees on new PR page #10853
Labels
Comments
a1012112796
added a commit
to a1012112796/gitea
that referenced
this issue
Mar 28, 2020
Because the assigness has been loaded in compare.go 416: RetrieveRepoMetas(ctx, ctx.Repo.Repository, true) then issue.go 381 RetrieveRepoMilestonesAndAssignees(ctx, repo) then issue.go 361 -- 365 , they are load assignees So the code on compare.go 425 -- 427 is double work, and which is the reason of go-gitea#10853 Signed-off-by: a1012112796 <[email protected]>
guillep2k
changed the title
[bug]some small bug about New PR page
[bug] Users with only read rights can select assignees on new PR page
Mar 28, 2020
zeripath
pushed a commit
that referenced
this issue
Mar 28, 2020
Because the assigness has been loaded in compare.go 416: RetrieveRepoMetas(ctx, ctx.Repo.Repository, true) then issue.go 381 RetrieveRepoMilestonesAndAssignees(ctx, repo) then issue.go 361 -- 365 , they are load assignees So the code on compare.go 425 -- 427 is double work, and which is the reason of #10853 Signed-off-by: a1012112796 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
there are a small bug about New PR page
user who don't have write permission can choose assignees on here:
test on gitea.com
The text was updated successfully, but these errors were encountered: