mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 18:58:38 +00:00
Allow users with explicit read access to give approvals (#8382)
This commit is contained in:
committed by
techknowlogick
parent
736ad8f091
commit
4843723d00
@@ -117,9 +117,9 @@ func SettingsProtectedBranch(c *context.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
users, err := c.Repo.Repository.GetWriters()
|
||||
users, err := c.Repo.Repository.GetReaders()
|
||||
if err != nil {
|
||||
c.ServerError("Repo.Repository.GetWriters", err)
|
||||
c.ServerError("Repo.Repository.GetReaders", err)
|
||||
return
|
||||
}
|
||||
c.Data["Users"] = users
|
||||
|
Reference in New Issue
Block a user