entity icon indicating copy to clipboard operation
entity copied to clipboard

Staff Dashboard - Implement Safe List Addition and Removal

Open eve-git opened this issue 1 year ago • 3 comments

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

image.png

eve-git avatar Mar 22 '24 20:03 eve-git

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.

bolyachevets avatar Mar 22 '24 20:03 bolyachevets

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

ozamani9gh avatar Mar 26 '24 17:03 ozamani9gh

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;

pwei1018 avatar Apr 11 '24 22:04 pwei1018

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

rstens avatar May 27 '24 20:05 rstens

@rstens url: https://dev.account.bcregistry.gov.bc.ca/staff/dashboard/active image image

shaangill025 avatar May 28 '24 21:05 shaangill025

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

rstens avatar May 28 '24 23:05 rstens

Yes, https://github.com/bcgov/sbc-auth/pull/2843 includes the required changes.

shaangill025 avatar May 28 '24 23:05 shaangill025

[4:44 p.m.] Stens, Roland K CITZ:EX https://github.com/bcgov/entity/issues/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?

rstens avatar May 28 '24 23:05 rstens

@rstens Fix is live in https://dev.account.bcregistry.gov.bc.ca/staff/dashboard/active

shaangill025 avatar May 31 '24 17:05 shaangill025

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

ozamani9gh avatar Jun 03 '24 13:06 ozamani9gh

@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.

rstens avatar Jun 03 '24 15:06 rstens

@rstens Can you please test again in Dev?

shaangill025 avatar Jun 05 '24 17:06 shaangill025

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 avatar Jun 06 '24 16:06 rstens

In TEST Now as well: PASS

rstens avatar Jun 06 '24 17:06 rstens