You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When solving issue openfun/openedx-docker#106 (Controlling access to instructor dashboard CSV export files) we had to determine if user requesting the file was belonging to course staff.
Solution implemented by #15 may not safely scale if user belongs to a large amount of courses because we request ORM for an unknown number of lines and then calculate each course key sha1
Considered solutions
Retrieve course_key from HTTP referer
Implement specific DjangoStorage
Override view listing available files (list_report_downloads) to append course_key to filenames
Monkey patch edX ReportStore class
None of these solutions were considered satisfying.
The text was updated successfully, but these errors were encountered:
rmoch
changed the title
fonzie:acl:report view may not safely scale
⚡️(api) fonzie:acl:report view may not safely scale
May 17, 2019
Description
When solving issue openfun/openedx-docker#106 (Controlling access to instructor dashboard CSV export files) we had to determine if user requesting the file was belonging to course staff.
Solution implemented by #15 may not safely scale if user belongs to a large amount of courses because we request ORM for an unknown number of lines and then calculate each course key sha1
Considered solutions
Retrieve course_key from HTTP refererImplement specific DjangoStoragelist_report_downloads
) to append course_key to filenamesReportStore
classNone of these solutions were considered satisfying.
The text was updated successfully, but these errors were encountered: