You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
There is a small bug in the way that repo access is checked in repoAssignment: Accessibility is checked by checking if the user has a marked access to the repository instead of checking if the user has any team granted access. This PR changes this permissions check to use HasAccess() which does the correct test. There is also a fix in the release api ListReleases where it should return draft releases if the user is a member of a team with write access to the releases. The PR also adds a testcase. Signed-off-by: Andrew Thornton <art27@cantab.net> |
3 years ago | |
---|---|---|
.. | ||
blob.go | 5 years ago | |
branch.go | 3 years ago | |
collaborators.go | 3 years ago | |
commits.go | 3 years ago | |
file.go | 3 years ago | |
fork.go | 3 years ago | |
git_hook.go | 4 years ago | |
git_ref.go | 3 years ago | |
hook.go | 3 years ago | |
hook_test.go | 3 years ago | |
issue.go | 3 years ago | |
issue_comment.go | 3 years ago | |
issue_label.go | 3 years ago | |
issue_reaction.go | 3 years ago | |
issue_stopwatch.go | 3 years ago | |
issue_subscription.go | 3 years ago | |
issue_tracked_time.go | 3 years ago | |
key.go | 3 years ago | |
label.go | 3 years ago | |
language.go | 4 years ago | |
main_test.go | 3 years ago | |
migrate.go | 3 years ago | |
milestone.go | 3 years ago | |
mirror.go | 3 years ago | |
notes.go | 3 years ago | |
pull.go | 3 years ago | |
pull_review.go | 3 years ago | |
release.go | 3 years ago | |
release_attachment.go | 3 years ago | |
release_tags.go | 4 years ago | |
repo.go | 3 years ago | |
repo_test.go | 3 years ago | |
star.go | 3 years ago | |
status.go | 3 years ago | |
subscriber.go | 3 years ago | |
tag.go | 3 years ago | |
teams.go | 4 years ago | |
topic.go | 3 years ago | |
transfer.go | 4 years ago | |
tree.go | 3 years ago | |
wiki.go | 3 years ago |