[openstreetmap/openstreetmap-website] Use an authorisation framework (#1626)

Tom Hughes notifications at github.com
Thu Aug 31 20:33:06 UTC 2017


Sounds like a good idea to me, and I agree that CanCanCan looks like it's probably the best option from what I've seen so far.

I have to say that having read quite a bit of the CanCanCan documentation now I still don't entirely understand how the ability objects get created and attached to the request so that he controllers and views can see them, but I'm sure there's something entirely obvious that I've missed that you will be able to figure out ;-)

-- 
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/issues/1626#issuecomment-326412734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170831/81638148/attachment.html>


More information about the rails-dev mailing list