Browse Source

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

Unknwon 7 years ago
parent
commit
4e87e62d5c
3 changed files with 3 additions and 3 deletions
  1. 1 1
      gogs.go
  2. 1 1
      models/repo_collaboration.go
  3. 1 1
      templates/.VERSION

+ 1 - 1
gogs.go

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

+ 1 - 1
models/repo_collaboration.go

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

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.11.0521
+0.11.12.0529