]> source.dussan.org Git - gitea.git/commit
Collaborator trust model should trust collaborators (#18539)
authorzeripath <art27@cantab.net>
Wed, 2 Feb 2022 10:10:06 +0000 (10:10 +0000)
committerGitHub <noreply@github.com>
Wed, 2 Feb 2022 10:10:06 +0000 (11:10 +0100)
commit76e31115965164112a6dfdbd297632431e896e5e
tree419d281e6efeb703a6076b16d11759ea2072c75c
parent92e81e97e848f95af437694297105ec8fa18365e
Collaborator trust model should trust collaborators (#18539)

* Collaborator trust model should trust collaborators

There was an unintended regression in #17917 which leads to only
repository admin commits being trusted. This PR restores the old logic.

Fix #18501

Signed-off-by: Andrew Thornton <art27@cantab.net>
models/asymkey/gpg_key_commit_verification.go
models/commit.go
modules/gitgraph/graph_models.go
routers/web/repo/commit.go
routers/web/repo/view.go