summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-06 00:26:40 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-06 00:26:40 +0200
commitcb59aade4e568e6146a966362385ac41af4dc604 (patch)
tree5b755ded0186a81c15d8da2b7b4ce865a5b73a0d /lib/tasks
parent74f8bc7298f112c2d414c6f71be054adce01012a (diff)
downloadgitlab-ce-cb59aade4e568e6146a966362385ac41af4dc604.tar.gz
Cleaning and refactoring
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/bulk_import.rake3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tasks/bulk_import.rake b/lib/tasks/bulk_import.rake
index de00a68ad4d..607250f1770 100644
--- a/lib/tasks/bulk_import.rake
+++ b/lib/tasks/bulk_import.rake
@@ -90,8 +90,7 @@ def create_repo_project(project_name, user_email)
# Add user as admin for project
project.users_projects.create!(
- :repo_access => Repository::REPO_RW,
- :project_access => Project::PROJECT_RWA,
+ :project_access => UsersProject::MASTER,
:user => user
)