File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 60
60
:view_changesets ,
61
61
:manage_related_issues ,
62
62
:manage_project_activities ,
63
- :create_gitolite_ssh_key
63
+ :create_gitolite_ssh_key ,
64
+ :commit_access
64
65
]
65
66
end
66
67
Original file line number Diff line number Diff line change @@ -127,8 +127,8 @@ def create_user_with_permissions(project)
127
127
128
128
context "with all options" do
129
129
my_hash = {
130
- ssh : { url : "ssh://#{ GIT_USER } @localhost/redmine/project-parent/project-child.git" , committer : 'false ' } ,
131
- https : { url : "https://redmine-test-user@localhost/git/project-parent/project-child.git" , committer : 'false ' } ,
130
+ ssh : { url : "ssh://#{ GIT_USER } @localhost/redmine/project-parent/project-child.git" , committer : 'true ' } ,
131
+ https : { url : "https://redmine-test-user@localhost/git/project-parent/project-child.git" , committer : 'true ' } ,
132
132
http : { url : "http://redmine-test-user@localhost/git/project-parent/project-child.git" , committer : 'false' } ,
133
133
go : { url : "localhost/go/project-parent/project-child" , committer : 'false' } ,
134
134
git : { url : "git://localhost/redmine/project-parent/project-child.git" , committer : 'false' }
@@ -157,7 +157,7 @@ def create_user_with_permissions(project)
157
157
end
158
158
159
159
context "with ssh" do
160
- my_hash = { ssh : { url : "ssh://#{ GIT_USER } @localhost/redmine/project-parent/project-child.git" , committer : 'false ' } }
160
+ my_hash = { ssh : { url : "ssh://#{ GIT_USER } @localhost/redmine/project-parent/project-child.git" , committer : 'true ' } }
161
161
162
162
it "should return a Hash of Git url" do
163
163
@user = create_user_with_permissions ( @project_child )
You can’t perform that action at this time.
0 commit comments