1
|
Index: C:/rubyworkspace/redmine-trunk/lib/tasks/load_default_data.rake
|
2
|
===================================================================
|
3
|
--- C:/rubyworkspace/redmine-trunk/lib/tasks/load_default_data.rake (revision 127)
|
4
|
+++ C:/rubyworkspace/redmine-trunk/lib/tasks/load_default_data.rake (working copy)
|
5
|
@@ -26,11 +26,11 @@
|
6
|
manager.permissions = Permission.find(:all, :conditions => ["is_public=?", false])
|
7
|
|
8
|
developper = Role.create :name => l(:default_role_developper)
|
9
|
- perms = [150, 320, 321, 322, 420, 421, 422, 1050, 1060, 1070, 1075, 1130, 1220, 1221, 1222, 1223, 1224, 1320, 1322, 1061, 1057]
|
10
|
+ perms = [100, 150, 320, 321, 322, 420, 421, 422, 1050, 1060, 1070, 1075, 1130, 1220, 1221, 1222, 1223, 1224, 1320, 1322, 1061, 1057]
|
11
|
developper.permissions = Permission.find(:all, :conditions => ["sort IN (#{perms.join(',')})"])
|
12
|
|
13
|
reporter = Role.create :name => l(:default_role_reporter)
|
14
|
- perms = [1050, 1060, 1070, 1057, 1130]
|
15
|
+ perms = [100, 1050, 1060, 1070, 1057, 1130]
|
16
|
reporter.permissions = Permission.find(:all, :conditions => ["sort IN (#{perms.join(',')})"])
|
17
|
|
18
|
# trackers
|