change to --> capabilities["view_global_teams"] || Rails.application.config.openshift[:default_view_global_teams]
to make it consistent with other caps like max_domains/max_teams