Module: Course::StatisticsAbilityComponent

Includes:
AbilityHost::Component
Defined in:
app/models/components/course/statistics_ability_component.rb

Instance Method Summary collapse

Instance Method Details

#define_permissionsObject


5
6
7
8
9
# File 'app/models/components/course/statistics_ability_component.rb', line 5

def define_permissions
  allow_staff_read_statistics if user

  super
end