X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a0c1167f9ab82882d82b728497dc6b31f241957b..00123f05ba0b0c7a41ae3888cd33b68f13e1d662:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index c7080595c..4a4eee390 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -6,6 +6,9 @@ class Ability def initialize(user) can [:relation, :relation_history, :way, :way_history, :node, :node_history, :changeset, :query], :browse + can [:show], OldNode + can [:show], OldWay + can [:show], OldRelation can [:show, :new], Note can :search, :direction can [:index, :permalink, :edit, :help, :fixthemap, :offline, :export, :about, :communities, :preview, :copyright, :key, :id], :site