diff options
author | Unknwon <u@gogs.io> | 2017-05-29 16:33:18 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-05-29 16:33:18 -0400 |
commit | 4e87e62d5ce9ff7fb189d895c0e2b20b8b322ad8 (patch) | |
tree | baf330f2933f63ede807378b61fd10a56319158a /models/repo_collaboration.go | |
parent | a5bd095c3045b934c381c5f4b0b4a85cbbbef39d (diff) |
models/repo_collaboration: cannot change permissions of collaborators (#4512)
Diffstat (limited to 'models/repo_collaboration.go')
-rw-r--r-- | models/repo_collaboration.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, } |