openSUSE/osem

View on GitHub
app/helpers/admin/volunteers_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Admin
  module VolunteersHelper
    def can_manage_volunteers?(conference)
      current_user.has_cached_role?(:organizer, conference) || current_user.has_cached_role?(:volunteers_coordinator, conference)
    end
  end
end