david0521 / swedenUniServer

The backend part of the swedenUni
0 stars 0 forks source link

Create controllers for each of the users #34

Closed david0521 closed 4 months ago

david0521 commented 4 months ago

Related Requirements

Requirements Related to User Accounts

FR1: The system shall allow the users to sign up if the user provide his/her email and password. FR2: The system shall distinguish users based on students, prospective students, and general users. FR2.1: The system shall require different information based on the user type. FR2.2: The system shall authorize users on different features based on their account type. FR3: The system shall allow one of the user with an admin authority. F3.1: The admins shall be allowed to perform acts that might influence other users. FR4: All users shall have the authority to delete their own accounts regardless of the reason. FR5: Prospective students shall have the authority to change their merit score, and prerequisite information. FR6: Prospective students shall be able to modify the list of programs they are interested in. FR7: Prospective students shall be able to modify the list of universities they are interested in.

Additional Requirement

User Stories

As a user who wants to register to the system, I would like to be able to sign up with the least information, so that no personal information is leaked. As the administrator of the system, I would like the user accounts to be saved in a single database, so that my database does not become messy. As the administrator of the system, I would like the users to be distinguishable based on their account type, so that different accounts can have different authorities. As the administrator of the system, I would like to prohibit non-authorized users from accessing the prohibited services, so that my system stays secured. As a prospective student searching for a university to study at, I would like to receive recommendation based on my merit point, and prerequisites, so that I can at least have information on which universities I can visit. As a prospective student searching for a university to study at, I would like to be able to modify my prerequisite and merit point information, so that I can change my status. As a prospective student searching for a university to study at, I would like to change my list of interests, so that I can change my mind later on. As a student who is studying at the university, I would like to state my university name and program name, so that I can look authentic when I am recommending my program to other students. As a user, I would like to be able to delete my own account, so that I can keep my personal data safe.

Acceptance Criteria