Skip to content

Assessment: implement privacy deletion#1906

Draft
JGStyle wants to merge 1 commit into
mainfrom
feat/gdpr-data-deletion-assessment
Draft

Assessment: implement privacy deletion#1906
JGStyle wants to merge 1 commit into
mainfrom
feat/gdpr-data-deletion-assessment

Conversation

@JGStyle

@JGStyle JGStyle commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

✨ What is the change?

This PR implements the privacy deletion feature for the self team allocation CPM

It registers the deletion handler using the sdk functinality.

Upon the deletion, the corresponding records in assignments or tutors (where applicable) related to the requesting subject is deleted.

📌 Reason for the change / Link to issue

As part of the bigger effort described in https://github.com/orgs/prompt-edu/discussions/683

🧪 How to Test

As a user with self team allocation data, request deletion:

  1. click your user profile in the top right corner

  2. click privacy

  3. click deletion

  4. request a deletion

  5. approve the deletion as an admin from the privacy dashboard (Home → Privacy)
    Then, verify that the data from assessment cpm was deleted
    (f.e. by inspecting the db or the phase in the course sidebar)

🖼️ Screenshots (if UI changes are included)

no UI changes

✅ PR Checklist

  • Tested locally or on the dev environment
  • Code is clean, readable, and documented
  • Tests added or updated (if needed)
  • Screenshots attached for UI changes (if any)
  • Documentation updated (if relevant)

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3d421abb-2aaa-4ebb-9827-29158e607638

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/gdpr-data-deletion-assessment

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

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant