Use case 'Add user'
Use case name:
|
Add user
|
Iteration
|
Focused
|
Summary
|
Actor creates new user
|
Triggers
|
Actor needs to a new user
|
Assumptions
|
N/A
|
Preconditions
|
User is authenticated as Administrator, Teacher or Scientist
|
Basic course of events
|
- Actor decides to create new user
- Actor enters name
- Actor selects user type to student, teacher, scientist or administrator
- Actor sets user group
- Actor sets user budget
- Actor submits
- System confirms
|
Alternative path 1
|
- Actor decides to create several user accounts from a list
- System asks for input of list
- Actor gives list as input
- Actor sets default user type to student, teacher, scientist or administrator
- Actor sets default group
- Actor sets default budget
- Actor submits
- System confirms addition of users
|
Alternative path 2 (to basic)
|
- System rejects user, user name already exists.
- Actors enters (new) user name
- Actor submits, proceed to step 6
|
Alternative path 3 (to alt1)
|
- System rejects one or more users, user names already exist (and informs actor of these names)
- Actors corrects user list
- Actor submits, proceed to step 8.
|
Exception paths
|
|
(Extension points)
|
N/A
|
Postconditions
|
One or more Users are added to the system
|
Related business rules
|
- Budget is only applicable to users of type student
- Users of certain type can only be in groups with users of that type
- Teachers can only add users of types Student
- Scientists can only add users of type Scientist
- Administrators can add users of all types
|
Author
|
Joost, Joost en Jan
|
Date
|
20 nov 2008 14:08 (CET)
|
|
Use Case 'Modify user'
Use case name:
|
Modify User
|
Iteration
|
Focused
|
Summary
|
Actor modifies or deletes an existing user
|
Triggers
|
Actor needs to modify users
|
Assumptions
|
N/A
|
Preconditions
|
User is authenticated as Administrator, Teacher or Scientist
|
Basic course of events
|
- Actor decides to modify user
- Actors selects user to be edited
- Actor updates user details (name, type, group and/or budget)
- Actor indicates whether or not to delete user
- Actor submits
- System confirms
|
Alternative path 1
|
- Actor decides to modify one or more users
- Actor selects user(s) or a group
- Actor updates users details (type, group and/or budget)
- Actor indicates whether or not to delete users
- Actor submits
- System confirms
|
Alternative path 2 (to basic and alt 1)
|
- System rejects, actor tries to delete his own account, proceed to step 2
|
(Extension points)
|
N/a
|
Postconditions
|
- User information is up-to-date
|
Related business rules
|
- Budget is only applicable to users of type student
- Teachers can only delete users of type Student
- Teachers can modify users of type Student
- Scientists can modify users of type Scientists
- Administrators can delete and modify any type of user
|
Author
|
Joost, Joost en Jan
|
Date
|
20 nov 2008 14:45 (CET)
|
|