mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fixed user abilities in Physical Ticket
This commit is contained in:
parent
b9a540f4e2
commit
72537ba2a8
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class Ability
|
||||||
can :index, Ticket
|
can :index, Ticket
|
||||||
can :manage, TicketPurchase, user_id: user.id
|
can :manage, TicketPurchase, user_id: user.id
|
||||||
can [:new, :create], Payment, user_id: user.id
|
can [:new, :create], Payment, user_id: user.id
|
||||||
can [:index, :show], PhysicalTicket, user_id: user.id
|
can [:index, :show], PhysicalTicket, user: user
|
||||||
|
|
||||||
can [:create, :destroy], Subscription, user_id: user.id
|
can [:create, :destroy], Subscription, user_id: user.id
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue