UC.03 – Change of user's personal data
Context of Use
Logged in user can change his/her first name and/or last name and/or email
Primary Actor
Logged in user
Stakeholders and Interests
- student: intends to change his/her personal data
- teacher: intends to change his/her personal data
Constraints
- First name must have at least 2 and not more than 30 characters
- Last name must have at least 2 and not more than 30 characters
- Email must have at least 8 and not more than 40 characters
Preconditions
- User is already logged in to the UIS
- User is located on the Overview page
Trigger
User edits one of his/her entries or the combination of them
Main Success Scenario
- User will change data in the First name entry
- User will change data in the Last name entry
- User will change data in the Email entry
- User will press the Update button
Postconditions
- UIS saves changes and changes entries in the DB
- User is still on the Overview page
- Message confirming successful execution appears
- If the user changed his/her first and/or last name, changes appear on the upper bar
Alternative Flows
- 1a.
Entered first name has less than 2 characters
Postconditions:
- User is still on the Overview page
- Message notifying an unsuccessful execution appears
- No data are overwritten or changed
- 1b.
Entered first name has more than 30 characters
Postconditions:
- User is still on the Overview page
- Message notifying an unsuccessful execution appears
- No data are overwritten or changed
- 2a.
Entered last name has less than 2 characters
Postconditions:
- User is still on the Overview page
- Message notifying an unsuccessful execution appears
- No data are overwritten or changed
- 2b.
Entered last name has more than 30 characters
Postconditions:
- User is still on the Overview page
- Message notifying an unsuccessful execution appears
- No data are overwritten or changed
- 3a.
Entered email has less than 8 characters
Postconditions:
- User is still on the Overview page
- Message notifying an unsuccessful execution appears
- No data are overwritten or changed
- 3b.
Entered email has more than 40 characters
Postconditions:
- User is still on the Overview page
- Message notifying an unsuccessful execution appears
- No data are overwritten or changed
Technology and Data Variations List
N/A
Related Information
- Overview page is visually and functionally identical for both the student and the teacher