mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix: allow all users to view conference code of conduct (#3708)
This commit is contained in:
parent
44db914089
commit
8943807c04
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue