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

Change the POST event logic #102

Open
8 tasks
RomainGuarinoni opened this issue Mar 14, 2022 · 0 comments
Open
8 tasks

Change the POST event logic #102

RomainGuarinoni opened this issue Mar 14, 2022 · 0 comments
Labels
enhancement New feature or request Long issue Need a lot of times to implement

Comments

@RomainGuarinoni
Copy link
Collaborator

RomainGuarinoni commented Mar 14, 2022

Why

We decided that only verified account can create events, to prevent trolls etc..

How to implement it

Musician Entity

  • Add a verify filed to musician, default is false

Post /event

  • If the user id verified, then he can create the event
  • If not, it return an error that he is not authorized

Create a route to verify the account

  • Need a msg in body to describe why he wants to be verified and what events will he create
  • Send a mail to the find A Musician admins to verify his account
  • On the email, add the musician description and buttons to choose bewteen verified or not verified
  • Then, add webhook with payload to listen the click of the user
  • If webhook does not work, create a page in the frontend for the admins to verify account
@RomainGuarinoni RomainGuarinoni added enhancement New feature or request Long issue Need a lot of times to implement labels Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Long issue Need a lot of times to implement
Projects
None yet
Development

No branches or pull requests

1 participant