Skip to content

Wrap-up: PD link required, sharing confirmed and checked - #377

Merged
UgaTheDev merged 1 commit into
mainfrom
feat/wrap-up-pd-sharing
Dec 4, 2026
Merged

UgaTheDev merged 1 commit into
mainfrom
feat/wrap-up-pd-sharing

Conversation

@UgaTheDev

Copy link
Copy Markdown
Contributor
  • PD card on every wrap-up. It holds the link (required, and prefilled from the semester's run when we have one) and a required checkbox confirming Anyone with the link · Anyone on the internet with the link can view.
  • Live check. On every save, the server makes an anonymous request to Google's export URL for the doc:
    • 307 to googleusercontent means public.
    • 401, or a redirect to sign-in, means restricted, and submit is blocked.
    • 404 means no such doc, and submit is blocked.
    • A non-Docs link, or a failed check, only warns.
  • Approve stores the link on the term's run. An empty link never clears a stored one. The PD link also appears in the sign-off diff.
  • Older drafts: the requirement applies only to the PM's save and submit, so drafts already submitted can still be approved.

🤖 Generated with Claude Code

https://claude.ai/code/session_0152aazG7AAEF6rWPWCedVgY

… the PD is public

Every wrap-up now asks for the PD link (prefilled from the run on file) and a
checkbox confirming General access is "Anyone with the link". On each save the
server asks Google anonymously: restricted or missing docs block submit; a
non-Docs link or a failed check only warns. Approve stores the link on the
term's run. Drafts submitted before this can still be signed off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152aazG7AAEF6rWPWCedVgY
@coderabbitai

coderabbitai Bot commented Dec 4, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 19e88c0a-d6a1-4fad-8bef-61019010e46c
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@UgaTheDev
UgaTheDev merged commit cc7d9db into main Dec 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant