authorizer/TODO.md
2021-10-04 03:17:50 +05:30

707 B

Task List

Feature roles

For the first version we will only support setting roles master list via env

  • Support following ENV
    • ROLES -> comma separated list of role names
    • DEFAULT_ROLE -> default role to assign to users
  • Add roles input for signup
  • Add roles to update profile mutation
  • Add roles input for login
  • Return roles to user
  • Return roles in users list for super admin
  • Add roles to the JWT token generation
  • Validate token should also validate the role, if roles to validate again is present in request

Misc

  • Fix email template
  • Add support for organization name in .env
  • Add support for organization logo in .env