Merge pull request #5514 from AntonKhorev/pd-declaration
Remove public domain checkbox from signup and terms pages
This commit is contained in:
commit
aebacc88de
14 changed files with 222 additions and 66 deletions
|
@ -29,7 +29,7 @@ class Ability
|
|||
|
||||
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 [:read, :create, :destroy], :changeset_subscription
|
||||
|
@ -38,6 +38,7 @@ class Ability
|
|||
can [:read, :create, :destroy], :oauth2_authorization
|
||||
can [:update, :destroy], :account
|
||||
can :update, :account_terms
|
||||
can :create, :account_pd_declaration
|
||||
can :read, :dashboard
|
||||
can [:create, :subscribe, :unsubscribe], DiaryEntry
|
||||
can :update, DiaryEntry, :user => user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue