added user_propsals to show all talks irrespective of conference

closes #1810
This commit is contained in:
ViditChitkara 2017-12-20 23:02:18 +05:30
parent 8442eb813f
commit 0fdef06ebf
6 changed files with 112 additions and 0 deletions

View file

@ -107,6 +107,8 @@ class Ability
can [:edit, :update], Track do |track|
user == track.submitter && !(track.accepted? || track.confirmed?)
end
can :user_proposals, Conference
end
# Abilities for users with roles wandering around in non-admin views.