Closed SepsiLaszlo closed 3 years ago
For simple authorization be can use the befor_action callback.
For complex authorization we should use Pundit.
New migrations recommended: add user (owner) to appliance, add user (owner) to appliance_comment. But these migrations could be part of an other issue, if we wish.
For simple authorization be can use the befor_action callback.
For complex authorization we should use Pundit.