X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4cf3c3b6ed7cc6ab0728b320afde5854489629fb..f18baae22e4088af7f252c82f3c4a2576862a438:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index d91b7a2e7..b8aa82689 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -19,8 +19,9 @@ class Ability can [:index, :rss, :show, :comments], DiaryEntry can [:index], Note can [:index, :show], Redaction + can [:new, :create, :destroy], :session can [:index, :show, :data, :georss, :picture, :icon], Trace - can [:terms, :login, :logout, :new, :create, :save, :confirm, :confirm_resend, :confirm_email, :lost_password, :reset_password, :show, :auth_success, :auth_failure], User + can [:terms, :new, :create, :save, :confirm, :confirm_resend, :confirm_email, :lost_password, :reset_password, :show, :auth_success, :auth_failure], User can [:index, :show, :blocks_on, :blocks_by], UserBlock can [:index, :show], Node can [:index, :show, :full, :ways_for_node], Way