2021-09-20 05:06:26 +00:00
|
|
|
# Task List
|
|
|
|
|
2021-10-27 17:45:38 +00:00
|
|
|
## Feature Multiple sessions
|
|
|
|
|
|
|
|
- Multiple sessions for users to login use hMset from redis for this
|
|
|
|
user_id access_token1 long_live_token1
|
|
|
|
user_id access_token2 long_live_token2
|
|
|
|
|
2021-09-20 05:06:26 +00:00
|
|
|
# Feature roles
|
|
|
|
|
|
|
|
For the first version we will only support setting roles master list via env
|
|
|
|
|
|
|
|
- [x] Support following ENV
|
|
|
|
- [x] `ROLES` -> comma separated list of role names
|
|
|
|
- [x] `DEFAULT_ROLE` -> default role to assign to users
|
|
|
|
- [x] Add roles input for signup
|
|
|
|
- [x] Add roles to update profile mutation
|
|
|
|
- [x] Add roles input for login
|
|
|
|
- [x] Return roles to user
|
|
|
|
- [x] Return roles in users list for super admin
|
|
|
|
- [x] Add roles to the JWT token generation
|
|
|
|
- [x] Validate token should also validate the role, if roles to validate again is present in request
|
2021-10-03 21:47:50 +00:00
|
|
|
|
|
|
|
# Misc
|
|
|
|
|
|
|
|
- [x] Fix email template
|
|
|
|
- [x] Add support for organization name in .env
|
|
|
|
- [x] Add support for organization logo in .env
|