Approve or Reject an AMP Revision

Select changes from the diff panel, approve them to create or update task cards, or reject the entire revision. Admin only.

Module: Tech Library · 8 steps · admin

Select Changes
1 Open the Diff Panel

Navigate to Tech Library → AMP and click a revision in PARSED or PENDING_APPROVAL status. The diff panel appears on the detail page.

As an admin, you will see:

  • Checkboxes in the leftmost column of each actionable row
  • A Select All checkbox in the header
  • Approve Selected button (primary)
  • Approve All Changes button (outline)
  • Reject Revision button (red)
These controls are only visible to admin and super_admin users. CAMO engineers see the diff in read-only mode.
Admin controls: Approve Selected, Reject Revision buttons
2 Select Individual Items

Click the checkbox next to each task you want to approve. Only items with status New, Changed, or Removed can be selected. Unchanged items have no checkbox.

The Approve Selected button shows the count of selected items in parentheses — e.g. Approve Selected (5).

3 Select All Actionable Items

To approve everything at once, click the Approve All Changes button. This automatically selects all actionable items (New + Changed + Removed) and opens the reason dialog.

Alternatively, use the Select All checkbox in the table header to toggle all actionable items, then click Approve Selected.

Approve Changes
4 Approve Selected

Click Approve Selected ({count}). A reason dialog appears inline with the title: “Approve {count} change(s) — Reason Required”.

5 Enter a Reason

Type your reason for approval in the textarea. The reason is mandatory and cannot be empty. This is recorded in the audit trail for regulatory traceability.

Click Confirm Approval to proceed. The button shows “Approving...” while processing.

Approval reason dialog with textarea and Confirm Approve button
6 Review Results

On success, a toast notification appears:

“Changes Approved — Created {X}, updated {Y}, deactivated {Z} task cards”

The system performs these actions for each approved item:

Item StatusAction Taken
NewCreates a new task card in the database with the AMP’s values (task no, ATA chapter, description, intervals, type).
ChangedUpdates the existing task card with the AMP’s new values.
RemovedDeactivates (soft-deletes) the task card. It no longer appears in active lists.

The revision status transitions to APPROVED. The status badge, approvedBy, and approvedAt fields update on the detail page.

ATA chapter references from the AMP are automatically resolved to existing chapters in the database. If a chapter number is not found, the task card’s ATA reference is left blank.
Diff table with checkboxes and Select All button
Reject a Revision
7 Click Reject Revision

If the AMP revision should not be applied, click the red Reject Revision button. A reason dialog appears with the title: “Reject Revision — Reason Required”.

Rejecting a revision is a final action. Once rejected, no task cards are created or modified. A new AMP PDF must be uploaded to try again.
8 Confirm Rejection

Enter the reason for rejection in the textarea (mandatory, cannot be empty). Click Confirm Rejection.

The system:

  • Sets the revision status to REJECTED.
  • Stores the rejection reason in the revision’s remarks field.
  • Records who rejected it and when.
  • Logs the action in the audit trail.

A toast appears: “Revision Rejected — The AMP revision has been rejected”. The diff panel is no longer shown. The detail page displays the REJECTED status badge.