Skip to content

Commit 94bcdfa

Browse files
authored
fix: wrong variable name to enable PII (#283)
* fix: no USER in ASPECTS_ENABLE_PII * chore: command instructions to enable PII added
1 parent 3f16f14 commit 94bcdfa

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

docs/technical_documentation/how-tos/production_configuration.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,12 @@ Personally Identifiable Identification
166166

167167
By default Aspects does not store information that can directly link the xAPI learning traces to an individual's name, email address, username, etc. Storing this information has potential legal consequences and should be undertaken with careful consideration.
168168

169-
Setting ``ASPECTS_ENABLE_USER_PII`` to ``True``, then running Tutor init for the Aspects plugin, turns on the ability to send user data to ClickHouse. When turned on this populates the ``event_sink.external_id`` and ``event_sink.user_profile`` tables as new users are created.
169+
Setting ``ASPECTS_ENABLE_PII`` to ``True``, then running Tutor init for the Aspects plugin, turns on the ability to send user data to ClickHouse. When turned on this populates the ``event_sink.external_id`` and ``event_sink.user_profile`` tables as new users are created.
170+
171+
.. code-block:: bash
172+
173+
tutor config save -s ASPECTS_ENABLE_PII=true
174+
tutor dev|local|k8s do init -l aspects
170175
171176
However it does not copy over existing users, see :ref:`Backfilling Existing Data` below for more information on how to do that.
172177

@@ -256,7 +261,7 @@ There is a management command to populate course data for one, all, or a subset
256261
tutor local run lms ./manage.py lms dump_data_to_clickhouse --object course_overviews
257262
258263
259-
If you are running with ``ASPECTS_ENABLE_USER_PII`` set to ``True`` you will need to populate the user PII data with these commands:
264+
If you are running with ``ASPECTS_ENABLE_PII`` set to ``True`` you will need to populate the user PII data with these commands:
260265

261266
.. code-block::
262267

0 commit comments

Comments
 (0)