Module: Course::LessonPlanAbilityComponent

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

Instance Method Summary collapse

Instance Method Details

#define_permissionsObject


5
6
7
8
9
10
11
12
13
14
# File 'app/models/components/course/lesson_plan_ability_component.rb', line 5

def define_permissions
  if user
    allow_registered_users_showing_milestones_items
    allow_course_staff_show_items
    allow_course_teaching_staff_manage_lesson_plans
    allow_own_users_to_ignore_own_todos
  end

  super
end