]> git.openstreetmap.org Git - rails.git/blobdiff - app/abilities/ability.rb
Bump coverallsapp/github-action from 2.1.0 to 2.1.2
[rails.git] / app / abilities / ability.rb
index fd548c5f38a38a18a1d03f9f91972732b2d7816c..5d196fa98774cf5eeb03cb05464f69f1626522a3 100644 (file)
@@ -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