bcgov / bcgov/entity

Align 'allowOnAccountFreeze' routes with permissions from Backend

Open
#5,743 0 comments 0 reactions 0 assignees View on GitHub
Pay techdebt
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

## What is the problem?
* some routes are allowed on account freeze nsf. which is currently managed by the meta tag 'allowOnAccountFreeze' in the routes.

## What is the impact?
* need to make it more backend driven, by mapping with the permissions array from backend.

## Proposed solution
* need to figure

![image.png](https://images.zenhubusercontent.com/5e29fbc60d7ce64b71989a89/861fc43f-3a33-4f67-bcb8-e98e3814f12f)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the routes that use the allowOnAccountFreeze meta tag and the backend permissions array referenced in the issue. Determine how those values should map, then verify that account-freeze route access follows the backend permissions; no specific files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, javascript, python
Domain
authorization, backend, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.