CodyVollrath / GymApplication

1 stars 0 forks source link

GYM-2 #14

Open CodyVollrath opened 6 months ago

CodyVollrath commented 6 months ago

As a Gym Owner I want to be able to create users with login credentials, and user information

PREREQ: Must have roles assigned to users so we must extend the application allow for user roles. This can be done with a simple bool isAdmin but for most other applications we would likely want to have multiple roles.

  1. Add to API to accept requests to POST users provided the role is an administrator
    • Add a member called isAdmin to User in client and server side of the application
  2. Add a means to send that data to the server from C++ - Use the user class to extend to an object will add two members called password and confirm password
    • Create a frame that will allow user to send it via a form
    • Show an error message if the server fails to upload a user
    • Show an Accepted message the server uploads a user
  3. Check that the users are added on the server every time
CodyVollrath commented 6 months ago
  1. Add to API to accept requests to POST users provided the role is an administrator [DONE]
    • Add a member called isAdmin to User in client and server side of the application [DONE] Other work done today: Added users view
  2. Add a means to send that data to the server from C++ - Use the user class to extend to an object will add two members called password and confirm password
    • Create a frame that will allow user to send it via a form
    • Show an error message if the server fails to upload a user
    • Show an Accepted message the server uploads a user
  3. Check that the users are added on the server every time