aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-05-29 16:33:18 -0400
committerUnknwon <u@gogs.io>2017-05-29 16:33:18 -0400
commit4e87e62d5ce9ff7fb189d895c0e2b20b8b322ad8 (patch)
treebaf330f2933f63ede807378b61fd10a56319158a
parenta5bd095c3045b934c381c5f4b0b4a85cbbbef39d (diff)
models/repo_collaboration: cannot change permissions of collaborators (#4512)
-rw-r--r--gogs.go2
-rw-r--r--models/repo_collaboration.go2
-rw-r--r--templates/.VERSION2
3 files changed, 3 insertions, 3 deletions
diff --git a/gogs.go b/gogs.go
index 23a96910..2252f6e1 100644
--- a/gogs.go
+++ b/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
diff --git a/models/repo_collaboration.go b/models/repo_collaboration.go
index c3135013..0b733272 100644
--- a/models/repo_collaboration.go
+++ b/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,
}
diff --git a/templates/.VERSION b/templates/.VERSION
index 90070c3b..0d9bfcbc 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.11.11.0521 \ No newline at end of file
+0.11.12.0529 \ No newline at end of file