kir-dev / konyha

https://konyha.kir-dev.sch.bme.hu/
2 stars 0 forks source link

Implement authorization #32

Closed SepsiLaszlo closed 3 years ago

SepsiLaszlo commented 3 years ago

For simple authorization be can use the befor_action callback.

For complex authorization we should use Pundit.

triszt4n commented 3 years ago

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.