Repository navigation
API - Submission get_detail_result access checks updated - #2594
Merged
Merged
Conversation
get_detail_result access checks updated
get_detail_result access checks updatedget_detail_result access checks updated
ihsaan-ullah
force-pushed
the
submission_detailed_result_api
branch
from
October 20, 2026 06:14
3f2d572 to
bc16af9
Compare
- Soft-deleted submissions now return 404 - Only admins (organizers and superusers) can see the detailed result when the phase hides output - Approved participants can see the detailed result of their own submissions and of leaderboard submissions - Everyone else can only see the detailed result of a leaderboard submission when the competition is public and show_detailed_results_in_leaderboard is enabled - Detailed result tests moved to SubmissionGetDetailResultAPITests and rewritten by access group (admins, approved participants, everyone else)
Didayolo
force-pushed
the
submission_detailed_result_api
branch
from
October 21, 2026 04:13
bc16af9 to
99ede03
Compare
Didayolo
approved these changes
Oct 21, 2026
Member
|
Update: I changed the case where "Show detailed results on leaderboard" is disabled and the user is an approved participants. Before: could see others' detailed results |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Checklist