bcgov / bcgov/entity

PPR UI: Login error handling + login redirect

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

Description

**(This ticket needs some cleanup. Basically all PPR logins and logout need to make sense. See story and design ticket for details. Or talk to Scott.)**

See Story for all use cases.

Design ticket: #10656

*** As a logged in end user
* I want see appropriate errors
* so that I understand what to do next

*** As logged in staff user
* I want see appropriate errors
* so that I understand what to do next

**Acceptance Criteria**

**Scenario 1: logged in IDIR**
* GIVEN I am a logged in staff user (IDIR)
* WHEN I try to access a page I don't have access to
* THEN I receive an error that lets me know how to proceed.

**Scenario 2: logged in basic account**
* GIVEN I am logged in to my basic BC Registries account
* WHEN I try to access PPR (or another app that requires premium)
* THEN I receive information about changing my account to a premium.

**Scenario 3: unauthorized to access registration**
* GIVEN I am a logged in user
* WHEN I try to access a link to a PPR registration I do not have the authority to access
* THEN I receive an appropriate error message

Other scenarios?
- [ ] logging out from misc PPR pages, should redirect to PPR login page (or BC Registry login page - see #10905)

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.