bcgov / bcgov/entity

Host or Examiner doesn't have the right role for the page they are trying to access

Open
#23,037 2 comments 0 reactions 0 assignees View on GitHub
Dec MVP Release duplicate STORY STR Team Discussion
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

# User Story

**As a** team lead
**I want** users to receive an error message if they try to access a page without the appropriate role assigned,
**so that** they understand why they cannot access the page and can take appropriate action to resolve the issue.

# Context
If a user attempts to access a page and does not have the appropriate role assigned, they should receive a clear error message. This error message will inform them of the access issue and guide them on how to resolve it, ensuring that they are aware of the role requirement and can seek assistance if necessary.

# UX/UI Links

- [Insert link to SBC Connect role-based access error message wireframes/mockups here]
- [Insert link to error handling flow in Miro here]

# Miro Links

- [Insert link to Miro board for user flow here]

# Business Rules

- [ ] If the user lacks the appropriate role, the system should display an error message.
- [ ] The error message should clearly state that the user does not have the required role
- [ ] The user should be able to navigate back using browser buttons

# Story Scenarios

- [ ] **Scenario 1: User Without Appropriate Role Sees Error Message**
- **Given**: A user is attempting to access a page on STRR that requires a role
- **When**: The user does not have the appropriate role assigned.
- **Then**: The system should display an error message informing the user that they do not have the required role and cannot access the page.
- [ ] **Test Created**

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.