fix(repo): centralize repository-scoped authorization - #39063
Merged
wxiaoguang merged 18 commits intoAug 26, 2026
Conversation
wxiaoguang
marked this pull request as draft
August 23, 2026 16:28
Contributor
|
It needs to be reviewed carefully by human. |
wxiaoguang
reviewed
Aug 23, 2026
bircni
marked this pull request as ready for review
August 24, 2026 16:23
wxiaoguang
marked this pull request as draft
August 25, 2026 08:07
wxiaoguang
reviewed
Aug 25, 2026
wxiaoguang
force-pushed
the
fix/repository-authorization-cleanup
branch
from
August 26, 2026 08:00
58de054 to
c2105e3
Compare
wxiaoguang
marked this pull request as ready for review
August 26, 2026 09:47
wxiaoguang
approved these changes
Aug 26, 2026
This was referenced Aug 26, 2026
wxiaoguang
force-pushed
the
fix/repository-authorization-cleanup
branch
from
August 26, 2026 11:03
fe135f3 to
151b2c3
Compare
Contributor
|
Large enough, nothing worse. If nothing seriously wrong, can leave other improvements to the future. |
silverwind
approved these changes
Aug 26, 2026
Contributor
|
Reviewed by AI two rounds, let's merge and see whether we need following-up fixes. |
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Aug 28, 2026
* 'main' of https://github.com/go-gitea/gitea: fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156) [skip ci] Updated translations via Crowdin ci(snap): pack snaps without an LXD container (go-gitea#39152) chore: apply golangci "forbidigo" to all packages (go-gitea#39151) refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083) fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141) [skip ci] Updated translations via Crowdin feat: add deploy tokens (go-gitea#37306) chore: raise minimum git version to 2.25 (go-gitea#39131) fix: recognize linguist language aliases (go-gitea#39135) fix(repo): centralize repository-scoped authorization (go-gitea#39063)
zjjhot
added a commit
to zjjhot/gitea
that referenced
this pull request
Aug 28, 2026
* main: fix(packages): preserve SemVer prerelease identifiers in Swift Registry (go-gitea#39156) [skip ci] Updated translations via Crowdin ci(snap): pack snaps without an LXD container (go-gitea#39152) chore: apply golangci "forbidigo" to all packages (go-gitea#39151) refactor: drop two unmaintained dependencies, rename the byte size helpers (go-gitea#39083) fix(actions): keep step-level continue-on-error expressions unevaluated (go-gitea#39141) [skip ci] Updated translations via Crowdin feat: add deploy tokens (go-gitea#37306) chore: raise minimum git version to 2.25 (go-gitea#39131) fix: recognize linguist language aliases (go-gitea#39135) fix(repo): centralize repository-scoped authorization (go-gitea#39063)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make authorization for repository team access, repository deletion, and package unlinking self-contained and specific to the target repository.
This prevents organization-wide admin-team membership or synthetic task permissions from being combined with access to a different repository. Web and API routes now use the same authorization decisions.
Follow-up to #39046 and #23940.
Allow repo admin in an org to delete their own repos