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

This commit is contained in:
Unknwon
2017-05-29 16:33:18 -04:00
parent a5bd095c30
commit 4e87e62d5c
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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,
} }

View File

@@ -1 +1 @@
0.11.11.0521 0.11.12.0529