mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 15:20:01 +01:00
models/repo_collaboration: cannot change permissions of collaborators (#4512)
This commit is contained in:
2
gogs.go
2
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
|
||||
|
||||
@@ -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 @@
|
||||
0.11.11.0521
|
||||
0.11.12.0529
|
||||
Reference in New Issue
Block a user