[openstreetmap/openstreetmap-website] Allow administrators to see deleted diary comments (936967d)
notifications at github.com
Fri Oct 18 07:47:35 UTC 2019
It would be better to use the permissions system here, rather than hardcoding the specific role. So for example `unless can? :unhidecomment, DiaryEntry` - that way if we grant `:unhidecomment` ability to another group in future, it'll work for them too.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev