]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/api_ability.rb
Add changeset comment search api with filtering by author and time
[rails.git] / app / abilities / api_ability.rb
index 7bbd9889ad53fbbb6d064b115f79eca7a54cad75..d183aca74bb10ee7a90420c52fe29fa2fd53fdb3 100644 (file)
@@ -11,6 +11,7 @@ class ApiAbility
       can :create, Note unless user
 
       can [:read, :download], Changeset
+      can :read, ChangesetComment
       can :read, Tracepoint
       can :read, User
       can :read, [Node, Way, Relation, OldNode, OldWay, OldRelation]