Final-project-of-Team-5-Telerik-Academy / final_project_team_5

MIT License
1 stars 0 forks source link

Merge administration and main branch #16

Closed dimitar-st-atanasov closed 1 year ago

dimitar-st-atanasov commented 1 year ago
  1. validated email in register and login endpoints;

    • the system verifies that the email syntax adheres to the correct structure;
  2. improved endpoints for admins:

    • admin can now demote user from 'director' to 'spectator';
    • admin can now search for user by id and role or view all registered users;
  3. improved endpoints for users;

    • better structure of system verifications in endpoints;
  4. added a 4th role in User model - 'player':

    • when a users with a 'spectator' role connect with their player's account, their role is automatically updated to 'player';
dimitar-st-atanasov commented 1 year ago

After merging the administration branch was deleted.