bcgov / bcgov/STRR

CR: Add ability for Examiner to override Local Government (Jurisdiction)

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

Description

## Business Problem
To determine the Local Government of jurisdiction for a rental address, the Short-term Rental Registry: (1) calls the DataBC geocoder system with the Host-supplied street address to identify the property's coordinates as latitude and longitude; and (2) uses a database of shapefiles to determine the Local Government that overlays those coordinates.

Unfortunately, the accuracy of the DataBC geocoder significantly decreases with increasing distance from urban areas and, by nature of west-coast vacationing, many rental properties in the STRR are found in very rural and remote areas.

As such, the automation may incorrectly assign a rental property to the wrong Local Government, applying incorrect STR allowability, Principal Residence, or Business License business rules.

## Business Value
Allowing an Examiner to override the system's self-selected Local Government allows Examiners to ensure that the correct rules and regulations for the jurisdiction are applied. Without this ability, spatial errors would prevent rental properties which _are_ permissible by law from being rejected and potentially allow properties that are legally _inadmissible_ to be registered using the short-term rental system.

## Business Requirement
As an Examiner
I want to manually override the Local Government (jurisdiction) for a Registration
So that a different set of Local Government business rules and regulations can be applied to a Registration.

## Acceptance Criteria
- [ ] **Scenario: Examiner can override local government jurisdiction**
- Given an examiner is reviewing a registration with incorrect local government
- When the examiner manually selects the correct local government for the property
- Then the local government should be updated in the system, logged in the history and the registration should follow the rules and regulations of the new jurisdiction

- [ ] **Scenario: Examiner should see the override logged in the history**
- Given an examiner is overriding the local gov in the examiner dashboard
- When the examiner selects a new new local gov and hits save
- Then the change should show up in the history log with the idir of the person saving the change

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.