After introducing cancancan ability management, bepaid notifications
handling is broken:
I, [2019-03-04T10:44:05.050546 #8112] INFO -- : Started POST "/admin/erip_transactions/bepaid_notify" for 54.246.193.48 at 2019-03-04 1
0:44:05 +0300
I, [2019-03-04T10:44:05.053151 #8112] INFO -- : Processing by Admin::EripTransactionsController#bepaid_notify as /
I, [2019-03-04T10:44:05.053486 #8112] INFO -- : Parameters:
E, [2019-03-04T10:44:06.604516 #8112] ERROR -- : Cannot bepaid_notify on erip_transaction
I, [2019-03-04T10:44:06.605150 #8112] INFO -- : Redirected to https://hackerspace.by/users/sign_in
Add test for this ability and add abilities for :erip_transaction, not
for EripTransaction (to be clarified in future).
After introducing cancancan ability management, bepaid notifications handling is broken:
I, [2019-03-04T10:44:05.050546 #8112] INFO -- : Started POST "/admin/erip_transactions/bepaid_notify" for 54.246.193.48 at 2019-03-04 1 0:44:05 +0300 I, [2019-03-04T10:44:05.053151 #8112] INFO -- : Processing by Admin::EripTransactionsController#bepaid_notify as / I, [2019-03-04T10:44:05.053486 #8112] INFO -- : Parameters:
E, [2019-03-04T10:44:06.604516 #8112] ERROR -- : Cannot bepaid_notify on erip_transaction
I, [2019-03-04T10:44:06.605150 #8112] INFO -- : Redirected to https://hackerspace.by/users/sign_in
Add test for this ability and add abilities for :erip_transaction, not for EripTransaction (to be clarified in future).