diff --git a/app/models/user.rb b/app/models/user.rb index 1f11afb5..46842266 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -25,7 +25,11 @@ def will_save_change_to_email? end def can_modify_all_teams? - Set.new(teams) == Set.new(Team.all) + if admin + true + else + false + end end def board_privileges?