Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

THE NEW VERSION IS HERE: Approve or Reject employee Request



Table of Contents
Image Removed

Image Added

Click activation link

User click activation link from email for 

Search user

Enter credentials

Enter password

Create user in oAuth

...

for approv/reject registration employee request.

Activation link redirects user on registration page or login page depending on search result .

Get employee_request details

In this case system checks the user in Auth system. 

Invoke Get Employee request by ID WS. See service spesification.

  1. If user was found, - show login page
  2.  If user wasn't found, - show registration page

Enter credentials

On login page user should enter password for authorization in customer area.

Enter password

On registration page user should enter password and confirmation password for new user registration.

Create user via EmployeeRequest

System should create user in oAuth by using Create User WS

See service specification

User authorization must occur automatically.

Authorize user

  1. Verify the validity of access token
  2. Check user scop in order to perform this action
    1. In case error - return 401 error

Get employee_request details

For displaying details on request FE should invoke Get Employee Request Details WS.

See service specification

Approve/Reject request data

FE showes page with employee registration request details.

User verifies data and approves or rejects request by clicking the appropriate button.

Approve/Reject employee request

Approve/Reject employee request process is described on related Page