+ can [:token, :request_token, :access_token, :test_request], :oauth
+
+ if Settings.status != "database_offline"
+ can [:index, :feed], Changeset
+ can :index, ChangesetComment
+ can [:index, :rss, :show, :comments], DiaryEntry
+ can [:mine], Note
+ can [:index, :show], Redaction
+ can [:index, :show, :data, :georss, :picture, :icon], Trace
+ can [:terms, :login, :logout, :new, :create, :save, :confirm, :confirm_resend, :confirm_email, :lost_password, :reset_password, :show, :auth_success, :auth_failure], User
+ can [:index, :show, :blocks_on, :blocks_by], UserBlock
+ can [:index, :show], Node
+ can [:index, :show, :full, :ways_for_node], Way
+ can [:index, :show, :full, :relations_for_node, :relations_for_way, :relations_for_relation], Relation
+ can [:history, :version], OldNode
+ can [:history, :version], OldWay
+ can [:history, :version], OldRelation
+ end