Resolve "Add argument to lesson events get_objects method that bypasses the filtering done if own=False" #716

Closed
yuha wants to merge 1 commit from 281-add-argument-to-lesson-events-get_objects-method-that-bypasses-the-filtering-done-if-own-false into master
Member

Closes #281

Closes #281
Author
Member

assigned to @yuha

assigned to @yuha
Author
Member

added 1 commit

  • f17cae7f - Add argument

Compare with previous version

added 1 commit <ul><li>f17cae7f - Add argument</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/412/diffs?diff_id=53398&start_sha=324a0bba6d8758897650df02ac7d1a234eeefeda)
Author
Member

added 1 commit

  • ada55392 - Allow bypassing of permission checks and person-related filtering

Compare with previous version

added 1 commit <ul><li>ada55392 - Allow bypassing of permission checks and person-related filtering</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Chronos/-/merge_requests/412/diffs?diff_id=53485&start_sha=f17cae7f09240cebe5496b06ce57f0f136667b98)
Author
Member

marked this merge request as ready

marked this merge request as **ready**
Author
Member

mentioned in merge request AlekSIS-App-Alsijil!766

mentioned in merge request AlekSIS-App-Alsijil!766
Owner

requested review from @nik

requested review from @nik
Owner

unassigned @yuha

unassigned @yuha
Owner

assigned to @hansegucker

assigned to @hansegucker
Owner

@nik Please give your opinion whether this is valid.

@nik Please give your opinion whether this is valid.
Owner

That's entirely awkward and will certainly result in a CVe at some point.

That's entirely awkward and will certainly result in a CVe at some point.
Owner

We should provide a get_objects for default filtering and permissions and additional get_all_objects (or similar) to get all objects. The filtering logic should be in shared methods.

We should provide a `get_objects` for default filtering and permissions and additional `get_all_objects` (or similar) to get all objects. The filtering logic should be in shared methods.
hansegucker closed this pull request 2025-06-22 20:33:01 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Chronos!716
No description provided.