minsk-hackerspace / hackerspace.by

Website of Minsk Hackerspace (Ruby on Rails)
https://hackerspace.by/
11 stars 20 forks source link

Migrate access management to cancancan #361

Closed jekhor closed 5 years ago

jekhor commented 5 years ago

Move all manual authorize_user! filters in controllers to CanCan *authorize_resource and enable access checking by default.

jekhor commented 5 years ago

Может сломаться что угодно, надо вдумчиво потестировать.