Skip to main content

Module exercise_slide_submission_shares

Module exercise_slide_submission_shares 

Source

Structs§

ExerciseSlideSubmissionShare
A shareable link to an existing exercise-slide submission. The id is the unguessable token used in the shareable URL; a viewer resolves the token back to the submission it points at.

Functions§

get_by_id
insert
list_by_creator
The shares the user has minted, newest first, so they can be reviewed and withdrawn.
revoke
Withdraws a share, which get_by_id then stops resolving. Scoped to the creator, so the unguessable token is not itself authority to revoke — only to view.
revoke_all_for_submission
Withdraws every live share of one submission at once — the operation a user actually wants after sharing the same answer more than once.