app/controllers/notifications_controller.rb
# Give permission to manage notifications to appropriate roles
Give permission to manage notifications to appropriate roles
Give permission to manage notifications to appropriate roles
def action_allowed?
    ['Instructor',
     'Teaching Assistant',
     'Administrator'].include? current_role_name
  end
def action_allowed? [ 'Instructor' , 'Teaching Assistant' , 'Administrator' ] . include? current_role_name end
Give permission to manage notifications to appropriate roles
Give permission to manage notifications to appropriate roles