- response.last_modified = old_node.timestamp
-
- doc = OSM::API.new.get_xml_doc
- doc.root << old_node.to_xml_node
+ # TODO - maybe a bit heavyweight to do this on every
+ # call, perhaps try lazy auth.
+ setup_user_auth
+
+ if old_node.redacted? and (@user.nil? or not @user.moderator?)
+ render :nothing => true, :status => :forbidden
+ else