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

ETQ visiteur : Je peux m'enregistrer sur le site #10

Closed
4 tasks
RomainCrevecoeur opened this issue Jul 23, 2024 · 5 comments · Fixed by #9
Closed
4 tasks

ETQ visiteur : Je peux m'enregistrer sur le site #10

RomainCrevecoeur opened this issue Jul 23, 2024 · 5 comments · Fixed by #9
Assignees

Comments

@RomainCrevecoeur
Copy link
Collaborator

RomainCrevecoeur commented Jul 23, 2024

Contexte

Le visiteur était sur la page d'authentification mais n'avais pas de compte alors il a cliqué sur "se créer un compte"

Tests d’acceptance

  • Le visiteur professeur peut créer un compte pour son établissement
  • Nom de l'établissement, Nombre élèves, Nombre personnels, Année de construction, Adresse

Cas limites

  • L'utilisateur donne une adresse email non valide -> erreur
  • L'utilisateur utilise une adresse email déjà enregistré sur wordpress --> erreur

Infos Tech

Utiliser l'api graphql pour créer un nouvel utilisateur

Image

@cmolle
Copy link
Collaborator

cmolle commented Jul 30, 2024

@RomainCrevecoeur je me suis permis de rajouter un cas limite en cas de doublon d'adresse mail

@eaitezouine eaitezouine self-assigned this Aug 1, 2024
@RomainCrevecoeur
Copy link
Collaborator Author

Vu ensemble avec @eaitezouine les mutations ne sont pas possible avec ACF
wp-graphql/wpgraphql-acf#109

Plusieurs solutions

  1. Utiliser ce plugin peu maintenu https://github.com/zngly/wp-graphql-acf-mutations
  2. Regarder si c'est le même problème avec Elementor https://fr.wordpress.org/plugins/elementor/
    3.Trouver une autre solution

@RomainCrevecoeur
Copy link
Collaborator Author

RomainCrevecoeur commented Aug 5, 2024

Daily :
Solution temporaire :

  • Faire un table utilisateur dans Postgres (en matchant les ids) pour les pays/école

@eaitezouine eaitezouine linked a pull request Aug 6, 2024 that will close this issue
@RomainCrevecoeur RomainCrevecoeur transferred this issue from ABC-TransitionBasCarbone/clickson Aug 6, 2024
@RomainCrevecoeur
Copy link
Collaborator Author

#12

@github-project-automation github-project-automation bot moved this from In Review to Done in Clickson Kanban Aug 7, 2024
@khalilelhazmiri khalilelhazmiri moved this from Recette to In Review in Clickson Kanban Aug 13, 2024
@khalilelhazmiri khalilelhazmiri moved this from In Review to Recette in Clickson Kanban Aug 13, 2024
@RomainCrevecoeur
Copy link
Collaborator Author

Il faut rendre obligatoire

  • le pays
  • l'école

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

Successfully merging a pull request may close this issue.

3 participants