Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Staff Dashboard - Implement Safe List Addition and Removal #20463

Closed
eve-git opened this issue Mar 22, 2024 · 14 comments
Closed

Staff Dashboard - Implement Safe List Addition and Removal #20463

eve-git opened this issue Mar 22, 2024 · 14 comments
Assignees
Labels
enhancement New feature or request Names Team Name Request Name Examination Team Priority2 SRE SRE team task

Comments

@eve-git
Copy link
Collaborator

eve-git commented Mar 22, 2024

Safe Email List (DEV/TEST) is in staff dashboard in DEV and TEST. However It is empty and needs implementation.

image.png

@eve-git eve-git added Names Team Name Request Name Examination Team SRE SRE team task enhancement New feature or request labels Mar 22, 2024
@bolyachevets
Copy link
Collaborator

bolyachevets commented Mar 22, 2024

I think the reason the list is empty is because cors policy needs to be updated to include *.run.app urls from gcp, probably here https://github.com/bcgov/sbc-auth/blob/3c78b5029091c96c16fbd16d383508f899945906/auth-web/firebase.json#L23
that's where safe_list api is called from.
So, I think that would populate the list. What needs to be implemented is another api to add users to the list.

@ozamani9gh
Copy link
Collaborator

@pwei1018 is your team able to pick up this work, or do we need to groom it

@pwei1018
Copy link
Collaborator

Requirements:

  • Add 'DELETE' Option to notify-api safe_list endpoint;
  • Add 'Add' function in Staff Dashboard' Safe Email List section;
  • Add 'Remove' function of each email in the list;

@rstens
Copy link
Member

rstens commented May 27, 2024

@shaangill025 So I have no idea where this functionality is? Can you point me to it so I can take a look?

@shaangill025
Copy link
Collaborator

@rstens
Copy link
Member

rstens commented May 28, 2024

Adding and deleting do not refresh the page automatically, you have to reload to see the result.
That is confusing as there is no indication that something happened. Maybe that should be changed.
@shaangill025 @pwei1018

@shaangill025
Copy link
Collaborator

Yes, bcgov/sbc-auth#2843 includes the required changes.

@rstens
Copy link
Member

rstens commented May 28, 2024

[4:44 p.m.] Stens, Roland K CITZ:EX
#20463 Is done but I found a defect/issue Shanjot has provided a new PR for this, see comments in ticket. My question is do you want this included in the next release or do you want to wait until the new PR is done?
Staff Dashboard - Implement Safe List Addition and Removal · Issue #20463 · bcgov/entity
Safe Email List (DEV/TEST) is in staff dashboard in DEV and TEST. However It is empty and needs implementation.
[4:47 p.m.] Wei, Patrick CITZ:EX
This change is only available in Dev and Test. So, no release need. Your team can check with Relationship team to see when the PR can merge and deploy.

@ozamani9gh Your opinion?

@shaangill025
Copy link
Collaborator

@ozamani9gh
Copy link
Collaborator

@shaangill025 and @rstens please confirm this is now working in DEV and TEST. If so we can close ticket.

@rstens
Copy link
Member

rstens commented Jun 3, 2024

@ozamani9gh @ozamani9 It is working in DEV but not in TEST (yet). I also communicated with @shaangill025 the following:
Looks OK but..... If you add an email address, it would be nice that as part of the refresh you actually remove the email from the data entry field, so the user has some visual confirmation that it was done.
Maybe even a message somewhere that it was added.

@shaangill025
Copy link
Collaborator

@rstens Can you please test again in Dev?

@rstens
Copy link
Member

rstens commented Jun 6, 2024

Tested the few iterations in DEV and it looks good.
However, the latest version is not yet deployed in TEST.
Shaanjot is following up with Travis.

@ozamani9gh @shaangill025

@rstens
Copy link
Member

rstens commented Jun 6, 2024

In TEST Now as well: PASS

@fodiley fodiley closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Names Team Name Request Name Examination Team Priority2 SRE SRE team task
Projects
None yet
Development

No branches or pull requests

7 participants