Allow signed in users to index tickets. Fixes #571

This commit is contained in:
Henne Vogelsang 2014-12-18 11:42:42 +01:00
parent 75b5594302
commit e1c3bce4a7

View file

@ -131,6 +131,8 @@ class Ability
# can manage their own Registration
can :manage, Registration, user_id: user.id
can :index, Ticket
can :manage, TicketPurchase, user_id: user.id
# can manage their own User
can :manage, User, id: user.id