[openstreetmap/openstreetmap-website] Rework capabilities to avoid assumptions about missing tokens (71b21ec)

Tom Hughes notifications at github.com
Wed Oct 24 10:20:27 UTC 2018


With this change made do we still need the `if user` guard around the capability initialisation? I think the only reason for that was to support the logic that being logged in and not having a token implied those permissions right?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/commit/71b21ec47371c7210dfcb234f7bfa0adf00efad1#commitcomment-31024856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20181024/918b69bc/attachment.html>


More information about the rails-dev mailing list