X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4470cb88e0556041452719a3b4d7396cb3e3ec4a..8f387236cee2e842f695b287ae8a85c365bddf9c:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index 3ba2ab707..3116bc5cd 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -32,7 +32,7 @@ class Ability can :read, [:deletion, :account_terms] if Settings.status != "database_offline" - can [:subscribe, :unsubscribe], Changeset + can [:read, :create, :destroy], :changeset_subscription can [:read, :create, :update, :destroy], :oauth2_application can [:read, :destroy], :oauth2_authorized_application can [:read, :create, :destroy], :oauth2_authorization @@ -43,7 +43,7 @@ class Ability can :update, DiaryEntry, :user => user can [:create], DiaryComment can [:show, :create, :destroy], Follow - can [:read, :create, :mark, :unmute, :destroy], Message + can [:read, :create, :destroy], Message can [:close, :reopen], Note can [:read, :update], :preference can :update, :profile