]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Move the changes api to its own controller
[rails.git] / app / abilities / ability.rb
index 4f0ce1bd7b0a0084f548aee911dced067343d51e..2ba7149904f8214c0fb871250d8d8f3337dcfe1e 100644 (file)
@@ -8,6 +8,7 @@ class Ability
     can [:relation, :relation_history, :way, :way_history, :node, :node_history,
          :changeset, :note, :new_note, :query], :browse
     can :show, :capability
     can [:relation, :relation_history, :way, :way_history, :node, :node_history,
          :changeset, :note, :new_note, :query], :browse
     can :show, :capability
+    can :index, :change
     can [:index, :feed, :show, :download, :query], Changeset
     can :index, ChangesetComment
     can :search, :direction
     can [:index, :feed, :show, :download, :query], Changeset
     can :index, ChangesetComment
     can :search, :direction