mirror of https://github.com/go-gitea/gitea.git
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.
The old code generates `structs.Repository.Permissions` with only `access.Permission.AccessMode`, however, it should check the units too, or the value could be incorrect. For example, `structs.Repository.Permissions.Push` could be false even the doer has write access to code unit. Should fix https://github.com/renovatebot/renovate/issues/14059#issuecomment-1047961128 (Not reported by it, I just found it when I was looking into this bug) --- Review tips: The major changes are - `modules/structs/repo.go` https://github.com/go-gitea/gitea/pull/25388/files#diff-870406f6857117f8b03611c43fca0ab9ed6d6e76a2d0069a7c1f17e8fa9092f7 - `services/convert/repository.go` https://github.com/go-gitea/gitea/pull/25388/files#diff-7736f6d2ae894c9edb7729a80ab89aa183b888a26a811a0c1fdebd18726a7101 And other changes are passive. |
2 years ago | |
---|---|---|
.. | ||
activity.go | 2 years ago | |
activitypub.go | 2 years ago | |
admin_user.go | 2 years ago | |
attachment.go | 2 years ago | |
commit_status.go | 2 years ago | |
cron.go | 2 years ago | |
doc.go | 2 years ago | |
fork.go | 2 years ago | |
git_blob.go | 2 years ago | |
git_hook.go | 2 years ago | |
hook.go | 2 years ago | |
issue.go | 2 years ago | |
issue_comment.go | 2 years ago | |
issue_label.go | 2 years ago | |
issue_milestone.go | 2 years ago | |
issue_reaction.go | 2 years ago | |
issue_stopwatch.go | 2 years ago | |
issue_test.go | 2 years ago | |
issue_tracked_time.go | 2 years ago | |
lfs_lock.go | 2 years ago | |
mirror.go | 2 years ago | |
miscellaneous.go | 2 years ago | |
nodeinfo.go | 2 years ago | |
notifications.go | 2 years ago | |
org.go | 2 years ago | |
org_member.go | 2 years ago | |
org_team.go | 2 years ago | |
package.go | 2 years ago | |
pull.go | 2 years ago | |
pull_review.go | 2 years ago | |
release.go | 2 years ago | |
repo.go | 2 years ago | |
repo_branch.go | 2 years ago | |
repo_collaborator.go | 2 years ago | |
repo_commit.go | 2 years ago | |
repo_file.go | 2 years ago | |
repo_key.go | 2 years ago | |
repo_note.go | 2 years ago | |
repo_refs.go | 2 years ago | |
repo_tag.go | 2 years ago | |
repo_topic.go | 2 years ago | |
repo_tree.go | 2 years ago | |
repo_watch.go | 2 years ago | |
repo_wiki.go | 2 years ago | |
settings.go | 2 years ago | |
status.go | 2 years ago | |
task.go | 2 years ago | |
user.go | 2 years ago | |
user_app.go | 2 years ago | |
user_email.go | 2 years ago | |
user_gpgkey.go | 2 years ago | |
user_key.go | 2 years ago | |
visible_type.go | 2 years ago |