Add pd declaration create action

This commit is contained in:
Anton Khorev 2025-01-17 18:27:47 +03:00
parent 0f51052e86
commit 7d6ac34fbc
4 changed files with 25 additions and 1 deletions

View file

@ -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