From 9f98c52e08838b40158b925212f644a166aa869b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Tue, 5 Mar 2019 17:14:01 +0100 Subject: [PATCH] Not logged in users can not submit talks There should be no difference between having enabled ichain or not for this. --- app/models/ability.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/ability.rb b/app/models/ability.rb index 12a3555e..440b8cbc 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -56,10 +56,6 @@ class Ability conference = registration.conference conference.registration_open? && registration.new_record? && !conference.registration_limit_exceeded? end - - can [:new, :create], Event do |event| - event.program.cfp_open? && event.new_record? - end end end