- can [:show, :download, :query], Changeset
- can [:index, :create, :comment, :feed, :show, :search], Note
- can :index, Tracepoint
- can [:index, :show], User
- 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
-
- if user&.active?
- can :welcome, :site
- can [:revoke, :authorize], :oauth
+ can [:read, :download], Changeset
+ can [:read, :create, :feed, :search], Note
+ can :read, Tracepoint
+ can :read, User
+ can :read, Node
+ can [:read, :full, :ways_for_node], Way
+ can [:read, :full, :relations_for_node, :relations_for_way, :relations_for_relation], Relation
+ can [:history, :read], [OldNode, OldWay, OldRelation]
+ can :read, UserBlock