Skip to content

User Management

Create User

Introduction

Creates a new user for instance(s)

Pre-Conditions

  1. First Name
  2. Last Name
  3. Email
  4. Role
  5. Instances
  6. Category

Course of Events

  1. Notification is sent regarding user creation.
  2. Database is updated with user details.
  3. Mail is sent for creating a password and activating the account.

Validation Checks

  • check_email_availability checks whether entered email is available or taken.
  • requestType is passed as create to create a new user.
  • if assigner_roleId > roleId, then current user is not authorized to create another user.
  • user_name_validity checks string contains only alphabetic characters (i.e., no digits, spaces, or special characters).

Post Conditions

  1. allUsers

Exceptions

  1. None