<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>That's very helpful! Thanks. <br></span></div><div><span>I looked over the code but couldn't find easily what i was looking for (i'm a java dev)... <br></span></div><div><span> can you give me a hint on how to make any request filtered by authorization? pls <br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Erik Johansson <emj@kth.se><br> <b><span style="font-weight: bold;">To:</span></b> Alexandru <icidrop@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "dev@openstreetmap.org" <dev@openstreetmap.org> <br> <b><span style="font-weight:
 bold;">Sent:</span></b> Friday, November 18, 2011 12:25 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OSM-dev] Where is the code that checks if the user is logged in before serving the request?<br> </font> <br>
On Fri, Nov 18, 2011 at 10:59, Alexandru <<a ymailto="mailto:icidrop@yahoo.com" href="mailto:icidrop@yahoo.com">icidrop@yahoo.com</a>> wrote:<br>> I want to add some more pages behind the authorization feature. Would<br>> someone please help me with that?<br>><br><br>You might want to read up on MVC<br>http://www.google.com/search?q=introduction+to+MVC<br><br>And on Ruby<br>http://www.google.com/?q=ruby+introduction<br><br><br>Then take the User model and change it until it's broken, the first 20<br>lines in the controller are specifically interesting:<br><br><a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/user_controller.rb" target="_blank">https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/user_controller.rb</a><br><br><a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/user/account.html.erb"
 target="_blank">https://github.com/openstreetmap/openstreetmap-website/blob/master/app/views/user/account.html.erb</a><br><br>-- <br>/emj<br><br><br> </div> </div>  </div></body></html>