bcgov / digital-journeys

PSA Forms System
https://bcgov.github.io/digital-journeys/
Apache License 2.0
8 stars 7 forks source link

Cold/Flu: Admin functionality #1075

Closed bhumin-fw closed 1 year ago

bhumin-fw commented 1 year ago

As an admin cold/flu user, I should be able to be identified in the platform and be able to have permissions to:

AC:

Technical details:

fazil-ey commented 1 year ago

Additional notes from Stella

Admin functionality All submitted forms should show with the person’s name. In the absence of “editing” capability by the user, Admin need to be able to “search” by name when editing submissions.

Need to confirm whether ADMIN will have the ability to view and EXPORT all data to excel (via button), vs. needing to schedule report runs and/or emailing a person on dev team to run and send it (Caleb exploring with Don?) NO email receipt to user when submission is edited

ADMIN (Cold.Flu@gov.bc.ca) to receive email receipt of any NEW or EDITED submissions (AFTER the close date)… No notification during the registration period.

iman-jamali-fw commented 1 year ago

Update on progress:

iman-jamali-fw commented 1 year ago

@ayushdamani

We're set for testing on TEST! To make a cold-flu-admin user, please just add them to both client and cold-flu-admin groups in Keycloak. If you need a hand, feel free to ask me! With this setup, the cold/flu admin user can see all cold/flu forms submitted by others and their own submissions for any form type.

Stella-Archer commented 1 year ago

@chriscaldwell-psa could you help me add Heather Bishop to the keycloak groups?

ayushdamani commented 1 year ago

@iman-jamali-fw and I tested the ticket together. Thank you for your time, Iman!

As a Cold & Flu admin, I am able to see all the cold & flu submissions and my own submissions, but not able to edit them.

Iman will work on the same and once ready, reach out to retest the ticket.

iman-jamali-fw commented 1 year ago

@ayushdamani

The issue is fixed and it's ready for testing on TEST.

ayushdamani commented 1 year ago

Hoped on a call with @iman-jamali-fw !

Cache issue which is not allowing to open the submission.

bhumin-fw commented 1 year ago

@ayushdamani @iman-jamali-fw Please test all with new submission. As Old form has some conflict with schema on dataware house.

(schema updated by Don for is_closed and relocating)

iman-jamali-fw commented 1 year ago

@ayushdamani

The issue is fixed and we can test it again.

ayushdamani commented 1 year ago

Thank you, Iman!

Tested and verified working. Acceptance criteria met ✔️

A shot from keycloak - Screenshot 2023-05-11 113921.png

MeghanStothers commented 1 year ago

@ayushdamani Are you able to re-test this ticket? Thanks

Stella-Archer commented 1 year ago

Heather as Admin could see her own submissions as well as other cold and flu submissions. She could NOT see other form submissions like telework. This ticket is complete PO Approved and Closing