romango78 / LP-IS-Taxopark

MIT License
0 stars 0 forks source link

Сonfigure user authentication and authorization #7

Open natatkachenko opened 2 years ago

natatkachenko commented 2 years ago

Description

As a User, I would like to log in Taxopark application as either Admin or Dispatcher or Operator, so that I can perform actions appropriate for my role in the application.

As a User, I would like to log out from Taxopark application, so that I can log out of my account.

Acceptance Criteria

AC1: Administrator would like to:

AC2: Registered user has ability to log in Taxopark application as either Admin or Dispatcher or Operator. AC3: Registered user has ability to log out from Taxopark application.

List of linked Stories

8 Create an EF model and generate DB for Car and Driver entities

9 [Backend] Configure JWT authentication and authorization

10 [Frontend] Configure JWT authentication and authorization

11 [Backend] Create a new User account

12 [Frontend] Create a new User account

romango78 commented 2 years ago

Hi Nataliia, See my comments below:

  1. AC1: User doesn't have ability to sign up in the system. The administrator can only create a new user account. This AC can be removed.
  2. AC2: this AC can be removed as well because user doesn't have ability to sign up.
  3. AC3: the administrator can:
    • create a new user account;
    • assign a user role to user account or change this assignment;
      1. AC4: depends on his/here user role. The user role defines what set of functionality are available for this user.
      2. AC5 and AC6 don't have sense because administrator creates a new user account and assign user role.

Let me know if you have any questions. Thank you

BR, Roman

natatkachenko commented 2 years ago

Hi Roman,

  1. AC1, AC2 were removed.
  2. AC3 became as AC1 and was changed according to your comment.
  3. AC4 was changed according to your comment and split into two AC - AC2 and AC3.
  4. AC5 was removed.
  5. Description was changed according to new ACs.
natatkachenko commented 2 years ago
  1. AC4 was removed.
  2. In AC2 words "would like" were changed to "has ability".
  3. Stories related to this epic were added in the section "List of linked Stories".

Let me know if you have any questions. Thank you

BR, Nataliia