X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c74ec0aa49f54e7068d8dfa8d2a61f9a3f28d10e..72be36288e0421d86a8f1078cd552b8e519c1444:/app/abilities/ability.rb?ds=sidebyside diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index d91b7a2e7..9c832b43a 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -16,11 +16,14 @@ class Ability if Settings.status != "database_offline" can [:index, :feed], Changeset can :index, ChangesetComment + can [:confirm, :confirm_resend, :confirm_email], :confirmation can [:index, :rss, :show, :comments], DiaryEntry can [:index], Note + can [:lost_password, :reset_password], :password 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, :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