From: Andy Allan Date: Sat, 15 Feb 2025 14:03:55 +0000 (+0000) Subject: Merge pull request #5514 from AntonKhorev/pd-declaration X-Git-Tag: live~151 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/aebacc88de18c24c583a12b589eb98cf0b826627?ds=sidebyside Merge pull request #5514 from AntonKhorev/pd-declaration Remove public domain checkbox from signup and terms pages --- aebacc88de18c24c583a12b589eb98cf0b826627 diff --cc app/abilities/ability.rb index 3116bc5cd,f46131454..adedce543 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@@ -29,10 -29,10 +29,10 @@@ class Abilit if user&.active? can :welcome, :site - can :read, [:deletion, :account_terms] + can :read, [:deletion, :account_terms, :account_pd_declaration] 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