bcgov / bcgov/entity

Error message for user who doesn't have access to PPR

Open
#10,713 0 comments 0 reactions 0 assignees View on GitHub
Assets bug PPR Priority3 UX Assurance
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Currently if a user has a basic account, they get an error when they try to pay (and the error is not helpful). We should warn them when they first logon to PPR.

* As a user
* I want to see an error message if I can't logon to PPR
* so that I know why I can't logon

**Acceptance Criteria**

**Scenario 1: User has a basic account**
* GIVEN I am a user with a basic account
* WHEN I go to PPR (from a bookmark or direct link)
* THEN I see an error message
**Credentials**
**TEST: BCREG0056 / 98956
DEV: BCREG0056 / 98956**

**Scenario 2: User has not selected PPR as a product**
* GIVEN I am a user who has not selected PPR as a product
* WHEN I go to PPR (from a bookmark or direct link)
* THEN I see an error message
**Credentials**
**TEST: without PPR: BCREG0059 / 98959
TEST: with PPR BCREG0060 / 98960
DEV: without PPR: BCREG0059 / 98959
DEV: with PPR BCREG0060 / 98960**

**Scenario 3: Users account has been suspended (by staff)**
* GIVEN I am a user whose account has been suspended
* WHEN I go to PPR (from a bookmark or direct link)
* THEN I see an error message
**Credentials**
**TEST: nsf_account/@Password1 (BCEID)
DEV: nsf_account/@Password1 (BCEID)**

**Scenario 4: User is in three-day activation period**
* GIVEN I am a user with three-day activation period
* WHEN I go to PPR (from a bookmark or direct link)
* THEN I see an error message
**Credentials**
**TEST: ppr_pad_non_active/@Password1 (BCEID)
DEV: ppr_pad_non_active/@Password1 (BCEID)**

**Dependencies?
Are there dependencies on relationships?

**Validation Rules? (If yes, list here)**
Need to check if user has a basic or premium account and need to check that they have selected PPR as a product (or have the RPPR flag)

**Design**

----

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.