include CanCan::Ability
def initialize(user)
- can [:relation, :way, :node, :query], :browse
+ can :query, :browse
+ can :show, [Node, Way, Relation]
can [:index, :show], [OldNode, OldWay, OldRelation]
can [:show, :new], Note
can :search, :direction
can [:new, :create, :edit, :update], :password
can [:index, :show], Redaction
can [:new, :create, :destroy], :session
- can [:index, :show, :data, :georss, :picture, :icon], Trace
+ can [:index, :show, :data, :georss], Trace
can [:terms, :new, :create, :save, :suspended, :show, :auth_success, :auth_failure], User
can [:index, :show, :blocks_on, :blocks_by], UserBlock
end