From 8943807c0413c8c76ee512365b08579a1a148f70 Mon Sep 17 00:00:00 2001 From: gunapriya07 Date: Mon, 2 Mar 2026 13:09:08 +0530 Subject: [PATCH] Fix: allow all users to view conference code of conduct (#3708) --- app/models/ability.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/ability.rb b/app/models/ability.rb index 913c97ff..08ef50a9 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -21,6 +21,7 @@ class Ability can [:show], Conference do |conference| conference.splashpage&.public == true end + can :code_of_conduct, Conference # Can view the schedule can [:schedule, :events], Conference do |conference| conference.program.cfp && conference.program.schedule_public