- can [:index, :create, :comment, :feed, :show, :search, :mine], Note
- can [:index, :show], Redaction
- can [:index, :show, :blocks_on, :blocks_by], UserBlock
+ can [:token, :request_token, :access_token, :test_request], :oauth
+
+ if Settings.status != "database_offline"
+ can [:index, :feed], Changeset
+ can :index, ChangesetComment
+ can [:confirm, :confirm_resend, :confirm_email], :confirmation
+ can [:index, :rss, :show, :comments], DiaryEntry
+ can [:index], Note
+ can [:lost_password, :reset_password], :password
+ can [:index, :show], Redaction
+ can [:new, :create, :destroy], :session
+ can [:index, :show, :data, :georss, :picture, :icon], Trace
+ can [:terms, :new, :create, :save, :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