diff options
author | nfoy <nfoy@purdue.edu> | 2014-04-26 21:08:52 -0400 |
---|---|---|
committer | nfoy <nfoy@purdue.edu> | 2014-04-26 21:08:52 -0400 |
commit | 8203b447a8c5967afa8faab0ec56c42afa566823 (patch) | |
tree | d86f1addfd65f2b9948dfec6b35a52b1d759af3f /db | |
parent | 31d458e59077340f28955033735f5c433197cb75 (diff) |
Updated permissions. Private messaging should now function properly.
Diffstat (limited to 'db')
-rw-r--r-- | db/seeds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb index 3b98070..0d77208 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -7,7 +7,7 @@ # Mayor.create(name: 'Emanuel', city: cities.first) # p = User.permission_bits -Server.create(default_user_permissions: p[:join_tournament] | p[:create_pm] | p[:create_bracket] | p[:edit_bracket]) +Server.create(default_user_permissions: p[:join_tournament] | p[:create_pm] | p[:edit_pm] | p[:create_bracket]) Game.create(name: "League of Legends",min_players_per_team: 5, max_players_per_team: 5, min_teams_per_match: 2, max_teams_per_match: 2, set_rounds: nil, randomized_teams: true, sampling_method: "Manual,Double Blind,RiotAPI") Game.create(name: "Chess", min_players_per_team: 1, max_players_per_team: 1, min_teams_per_match: 2, max_teams_per_match: 2, set_rounds: nil, randomized_teams: true, sampling_method: "Manual,Double Blind") |