Browse Source

models/repo_collaboration: cannot change permissions of collaborators (#4512)

pull/4517/merge
Unknwon 8 years ago
parent
commit
4e87e62d5c
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      gogs.go
  2. 2
      models/repo_collaboration.go
  3. 2
      templates/.VERSION

2
gogs.go

@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/setting" "github.com/gogits/gogs/pkg/setting"
) )
const APP_VER = "0.11.11.0521" const APP_VER = "0.11.12.0529"
func init() { func init() {
setting.AppVer = APP_VER setting.AppVer = APP_VER

2
models/repo_collaboration.go

@ -174,7 +174,7 @@ func (repo *Repository) ChangeCollaborationAccessMode(userID int64, mode AccessM
return fmt.Errorf("update collaboration: %v", err) return fmt.Errorf("update collaboration: %v", err)
} }
access := Access{ access := &Access{
UserID: userID, UserID: userID,
RepoID: repo.ID, RepoID: repo.ID,
} }

2
templates/.VERSION

@ -1 +1 @@
0.11.11.0521 0.11.12.0529
Loading…
Cancel
Save