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

[BACK] Add pending and accepted status of invited users #98

Open
6 tasks
lineconquista opened this issue Oct 5, 2022 · 0 comments
Open
6 tasks

[BACK] Add pending and accepted status of invited users #98

lineconquista opened this issue Oct 5, 2022 · 0 comments
Assignees

Comments

@lineconquista
Copy link
Collaborator

lineconquista commented Oct 5, 2022

❗️ Check the label before starting task, it depends on this ❗️

Currently, when someone invite another user to squad we send an invitation email, after clicking it ll be part of team. But we dont have an expiration time, token management for this invitation or status at database like "accepted" and "pending".

TO DO

  • Add expiration time at JWT
  • Add new role at JWT
  • Add token as enabled at users-tokens
  • After user clicks on invitation link, update enabled field as false since token would already been used and update status field with "accepted" value
  • Add new status column at squads-users table, default is "pending"
  • Add status field at list squad endpoint
@lineconquista lineconquista self-assigned this Oct 5, 2022
@lineconquista lineconquista changed the title [BACK] ajustar status pendente e accept dos usuarios convidados [BACK] Add pending and accept status of invited users Oct 6, 2022
@lineconquista lineconquista changed the title [BACK] Add pending and accept status of invited users [BACK] Add pending and accepted status of invited users Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant