mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
Prepare 0.5 release
This commit is contained in:
parent
bba401a5dc
commit
a2cac952a4
4 changed files with 14 additions and 26 deletions
|
@ -213,7 +213,7 @@ func SettingsCollaboration(ctx *middleware.Context) {
|
|||
needDelete := true
|
||||
if ctx.User.IsOrganization() {
|
||||
// Check if user belongs to a team that has access to this repository.
|
||||
auth, err := models.GetHighestAuthorize(ctx.Repo.Owner.Id, ctx.User.Id, 0, ctx.Repo.Repository.Id)
|
||||
auth, err := models.GetHighestAuthorize(ctx.Repo.Owner.Id, ctx.User.Id, ctx.Repo.Repository.Id, 0)
|
||||
if err != nil {
|
||||
ctx.Handle(500, "GetHighestAuthorize", err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue