Skip to content

Commit

Permalink
Autorise les comptes à accepter leur CGU
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Nov 27, 2023
1 parent 1f84a74 commit 09888ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/ability_utilisateur.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def droit_compte(compte)
can :read, compte
can :update, compte
can :rejoindre_structure, compte
can :accepter_cgu, compte
comptes_generiques_ou_comptes_admin(compte)
droits_validation_comptes(compte)
cannot(:destroy, Compte) { |c| Campagne.exists?(compte: c) }
Expand Down

0 comments on commit 09888ac

Please sign in to comment.