Open matschaffer opened 8 years ago
[FYI] Seems that (https://github.com/Safecast/safecastapi/blob/master/Gemfile#L7-L7 https://github.com/Safecast/safecastapi/blob/master/app/models/ability.rb)cancan
gem was tried in past
cancan
gem is used in some place like admin interface.
Currently we have authorization for various actions (edit, reject, etc) peppered all over the place.
Might be good to pull in something like one of these to make the views cleaner and avoid odd permission bugs: