Team Allocation: implement privacy deletion #1905
Conversation
|
Warning Review limit reached
Next review available in: 20 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Team Allocation: implement privacy deletion
|
optimally, merge #1747 first. |
✨ What is the change?
This PR implements the privacy deletion feature for the team allocation CPM
It registers the deletion handler using the sdk functinality.
Upon the deletion, the corresponding records in:
allocations,student_team_preference_response,student_skill_response,tutorrelated 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 team allocation data, request deletion:
click your user profile in the top right corner
click privacy
click deletion
request a deletion
approve the deletion as an admin
Then, verify that the data from the self allocation cpm was deleted
f.e. by looking at the team allocations and verifying that the student was removed. (or by inspecting the db)
🖼️ Screenshots (if UI changes are included)
full deletion flow
2026-07-14.at.21.58.30.mp4
(the old deletion result screen is from an earlier test and wouldn't be surfaced to a normal user)
✅ PR Checklist