mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
add resource, ability and controller for payments
This commit is contained in:
parent
ee0a575a6f
commit
8f39fc83d2
3 changed files with 50 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ class Ability
|
|||
|
||||
can :index, Ticket
|
||||
can :manage, TicketPurchase, user_id: user.id
|
||||
can [:new], Payment, user_id: user.id
|
||||
|
||||
can [:create, :destroy], Subscription, user_id: user.id
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue