X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/19854d936dc3a60cbc439b18251bae5ec58ee7b5..c5c344b12c6b538cce39b372079b051a6071c5b0:/app/abilities/ability.rb?ds=sidebyside diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index fd548c5f3..5d196fa98 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -5,7 +5,8 @@ class Ability def initialize(user) can [:relation, :relation_history, :way, :way_history, :node, :node_history, - :changeset, :note, :new_note, :query], :browse + :changeset, :query], :browse + can [:show, :new], Note can :search, :direction can [:index, :permalink, :edit, :help, :fixthemap, :offline, :export, :about, :communities, :preview, :copyright, :key, :id], :site can [:finish, :embed], :export