Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.


UC-06a

UserManagement - Add user

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User must have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to add new users
Secuence
  1. User requests to add a user
  2. System returns user creation form
  3. User add customer data:
    1. A user may have multiple roles but ROLE_USER cannot mixed with any other role. 
    2. If user is created with ROLE_USER and as initial user it will be marked as default contact person and cannot be modified)
    3. If user is created as default contact person, email and phone fields are mandatory.
  4. If new user is marked as contact person for a customer, system may unmark previous contact person if it existed.
  5. if new user is associated with a customerId, system adds customer linkage.
  6. System saves user.
  7. If email is defined, system sends a confirmation email.
PostconditionsAudit fields must save who created that user.
Exceptions

System must reject user creation if username just exists.

System must reject user createion if role is ROLE_USER and customerId is not defined.

CommentsNone

...

UC-06d

UserManagement - Find users

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User could have ROLE_ADMINISTRATIVE_USER or or ROLE_PRODUCT_MANAGER
DescriptionFunctionality to search for users
Secuence
  1. User request for a list of users.
  2. System will query database using provided parameters
  3. System will return the result list.
PostconditionsNone
Exceptions

None

CommentsNone

...

UC-06e

UserManagement - Unblock user

Versión1.0
DependenciesNone
Preconditions
  • User must be logged
  • User could have ROLE_ADMINISTRATIVE_USER
DescriptionFunctionality to unblock a user
Secuence
  1. User requests to unblock a blocked users by number of failed logins exceeded from users list.
  2. System will update user.
  3. System will return to the users list.
PostconditionsNone
Exceptions

System will raise and exception if primary key does not exist.

CommentsNone