Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TRA-15271] ETQ utilisateur je peux m'inscrire / me désinscrire aux alertes e-mails en lien avec les délégations registre #3771

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

GaelFerrand
Copy link
Collaborator

@GaelFerrand GaelFerrand commented Nov 22, 2024

TODO

  • Ouvrir à tous les users
  • Update tous les admins à true par défaut, le reste à non

Démo

Screencast.from.2024-11-22.14-53-49.webm

Ticket Favro

Permettre à l'utilisateur de s'inscrire / désinscrire aux alertes e-mails en lien avec les délégations registre

ALTER TABLE "CompanyAssociation" ADD COLUMN "notificationIsActiveRegistryDelegation" BOOLEAN NOT NULL DEFAULT false;

-- Notifications are on by default for admins
update "CompanyAssociation" set "notificationIsActiveRegistryDelegation" = true where "role" = 'ADMIN';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Est-ce que c'est la bonne façon de faire, d'ajouter une ligne SQL à la mano ici pour activer la notif par défaut pour les admins?

Copy link

sonarcloud bot commented Nov 25, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant