bcgov / bcgov/STRR

Refuse an Unapproved Application

Open
#1,368 4 comments 0 reactions 1 assignee Assigned to @victorc-bcgov View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

## User Stories
As an Examiner
I want to refuse an unapproved Application
So that the Application is no longer under consideration.

As an Examiner
I want to be challenged with a Confirmation Modal
So that I can confirm that I wish to refuse the unapproved Application.

As an Applicant
I want to receive an email when my Application has been refused
So that I will know that my Application is no longer under consideration.

As an Applicant
I want to be shown a "Refused" indicator when viewing the Application details on the Applicant dashboard after the Application has been refused
So that I can confirm that the Application is refused.

As an Examiner
I want to be shown a "Refused" indicator when viewing the Application details on the Examiner dashboard after the Application has been withdrawn
So that I can confirm that the Application is withdrawn.

## User Experience
[**Refused**](https://www.figma.com/design/a4H3s0ebAxwv8ZniyNAt4g/STRR-Host-Registration---Redesign?node-id=5142-33931&t=Nb8WZ9Hy7QpS7jGM-1)

## Additional Details
- An Application can only be refused after an NOC process was initiated and expired.

## Acceptance Criteria
- [ ] **Scenario: Refuse an unapproved application**
- Given an unapproved application is in the system
- When the examiner clicks on the "Refuse Application" button
- Then the application should be refused and a confirmation modal appears

- [ ] **Scenario: Confirmation modal for refusing an application**
- Given an unapproved application is in the system
- When the examiner clicks on the "Refuse Application" button
- Then a confirmation modal should appear, asking if they are sure they want to refuse the application

- [ ] **Scenario: Email notification for applicant when application is refused**
- Given an unapproved application is in the system
- When the examiner refuses the application
- Then the applicant should receive an email notifying them that their application has been refused

- [ ] **Scenario: Show "Refused" indicator for applicants on dashboard**
- Given an unapproved application is in the system
- When the examiner refuses the application
- Then a "Refused" indicator should be shown on the applicant's dashboard when they view the application details

- [ ] **Scenario: Show "Refused" indicator for examiners on dashboard**
- Given an unapproved application is in the system
- When the examiner refuses the application
- Then a "Refused" indicator should be shown on the examiner's dashboard when they view the application details

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.