X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d74dd80540824b86fc93fc9573f412bbbcaefbc4..6a4092bc1678bd6bf4cd96243466e69c3e3995bb:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index 4127c0de7..f28acd5c3 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -4,9 +4,10 @@ class Ability include CanCan::Ability def initialize(user) - can [:trackpoints, :map, :changes, :capabilities, :permissions], :api + can [:trackpoints, :map, :changes, :permissions], :api can [:relation, :relation_history, :way, :way_history, :node, :node_history, :changeset, :note, :new_note, :query], :browse + can :show, :capability can [:index, :feed, :show, :download, :query], Changeset can :index, ChangesetComment can :search, :direction