Allow signed in users to index tickets. Fixes #571
This commit is contained in:
parent
75b5594302
commit
e1c3bce4a7
1 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,8 @@ class Ability
|
||||||
|
|
||||||
# can manage their own Registration
|
# can manage their own Registration
|
||||||
can :manage, Registration, user_id: user.id
|
can :manage, Registration, user_id: user.id
|
||||||
|
can :index, Ticket
|
||||||
|
can :manage, TicketPurchase, user_id: user.id
|
||||||
|
|
||||||
# can manage their own User
|
# can manage their own User
|
||||||
can :manage, User, id: user.id
|
can :manage, User, id: user.id
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue