Files
edx-platform/lms/djangoapps/grades
Manjinder Singh 2723e0e2bd [ARCHBOM-1645] Modifying anonymous_id_for_user() to handly SECRET_KEY rotation (#26162)
These changes were initially made to make it easier to do SECRET_KEY rotations.  Along the way, we found it made sense to refractor the code as well.

Changes made:
- changed get_to_create to create because now the code should only get to this block when a write is necessary
- added a lookup for anonymous_user_id. This is to return an existing anonymous_user_id rather than calculating. This will mitigate the results of SECRET_KEY rotation.
- Added monitoring to help us make better decisions: should we not sue SECRET_KEY, performance considerations...
- put old function behind toggle in case something goes wrong in production with new code
- refractoring function structure for better understanding
2021-01-27 07:23:19 -05:00
..
2020-12-03 16:06:14 +01:00
2020-10-05 17:28:48 -04:00
2019-03-28 10:48:34 -04:00
2016-07-22 00:09:43 -04:00
2019-12-30 10:35:30 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 10:35:30 -05:00
2019-04-28 23:40:41 -04:00
2019-12-30 10:35:30 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 10:35:30 -05:00

Status: Maintenance

Responsibilities
================

The grades app is responsible for computing and storing learners' grades in Course Runs. It provides Python and REST
APIs for retrieving, updating, and managing learners' grades.

The grades app is intended *only* for code related to the core grades subsystem. Any feature (even if it's a grades-related feature) built on top of the core grades subsystem does *not* belong here.

Direction: Keep
===============


Glossary
========

More Documentation
==================

`Architecture <https://openedx.atlassian.net/wiki/spaces/AC/pages/159458764/Grades+Architecture>`_

`Decisions <https://github.com/edx/edx-platform/tree/master/lms/djangoapps/grades/docs/decisions>`_