Skip to content

Privacy Act request pending

Ki Mau edited this page Sep 15, 2022 · 4 revisions

Summary

The Appellant Notification module will notify an appellant when the appeal has been assigned to the Privacy Team. This happens at the request of the appellant. There are several types of tasks associated with this request: FoiaColocatedTask, FoiaTask, FoiaRequestMailTask, HearingAdminFoiaPrivacyRequestTask, PrivacyActTask, and PrivacyActRequestMailTask. There are three different ways for a pending Privacy Act request to occur:

  1. The attorney creates and assigns a FoiaColocatedTask/FoiaTask/PrivacyActTask to a Privacy Act Team user on the appeal's case details page. (Note: The FoiaTask has to be a child of a FoiaColocatedTask, so the appeal needs to already have a FoiaColocatedTask in order to create a FoiaTask. Additionally, the PrivacyActTask also has to be a child of a colocated task, but it doesn't have to be specifically a FoiaColocatedTask.)
  2. The hearing coordinator creates and assigns a HearingAdminFoiaPrivacyRequestTask to a hearing coordinator on the appeal's case details page.
  3. The Privacy Act Team creates and assigns a FoiaRequestMailTask/PrivacyActRequestMailTask to Privacy Act Team user on the appeal's case details page.

Prepended Methods

There are three prepended methods used to track the Privacy Act request pending status.

  1. FoiaColocatedTask/FoiaTask: The method used to create this task is create_privacy_act_task located in app/models/tasks/foia_colocated_task.rb.
  2. FoiaRequestMailTask/PrivacyActRequestMailTask: The method used to create these tasks is create_twin_of_type(params) located in app/models/mail_task.rb.
  3. HearingAdminFoiaPrivacyRequestTask/PrivacyActTask: The method used to create these tasks is create_child_task(parent, current_user, params) located in app/models/task.rb.

SMS and Email Templates

IMG_0548 IMG_5124

Clone this wiki locally