Skip to main content

Module credit_registration_admin_actions

Module credit_registration_admin_actions 

Source
Expand description

Audit of manual actions on the credit registration pipeline.

Separate from credit_registration_events because the targets are often not registrations at all: a phase, a course module, a student-number link. Item-targeted actions write both tables.

Structs§

CreditRegistrationAdminActionFilters
The narrowings the Audit tab applies, all of them in SQL.
CreditRegistrationAdminActionListRow
One action with its actor named and the page’s total attached.
CreditRegistrationAdminActionRecord
CreditRegistrationNote
A note an admin left on a registration for whoever handles it next.
ManualLinkingEmailSend
A linking email an admin or a teacher sent by hand: a resend_link_email action that queued one.
NewCreditRegistrationAdminAction

Enums§

CreditRegistrationAdminAction
CreditRegistrationAdminActionTarget

Constants§

COURSE_TEACHER_ROLE
GLOBAL_ADMIN_ROLE

Functions§

count_by_actor_since
Backs the per-actor guard on the teacher resend endpoint: one person’s actions of one kind in a window.
get_by_actor
get_earlier_reasons
The distinct reasons given for action, most recently used first.
get_manual_linking_email_sends
The linking emails sent by hand on these courses, newest first.
get_notes_by_registrations
The notes on these registrations, newest first.
get_page
A page of the global action log, newest first, covering both actor kinds.
record
Call in the same transaction as the effect it audits.